Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for lengthOf (0.19 sec)

  1. tensorflow/c/c_api.h

    // keep.
    
    // `value` must point to a string of length `length` bytes.
    TF_CAPI_EXPORT extern void TF_SetAttrString(TF_OperationDescription* desc,
                                                const char* attr_name,
                                                const void* value, size_t length);
    // `values` and `lengths` each must have lengths `num_values`.
    // `values[i]` must point to a string of length `lengths[i]` bytes.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    }  // namespace tf_writable_file
    
    namespace tf_read_only_memory_region {
    void Cleanup(TF_ReadOnlyMemoryRegion* region);
    const void* Data(const TF_ReadOnlyMemoryRegion* region);
    uint64_t Length(const TF_ReadOnlyMemoryRegion* region);
    }  // namespace tf_read_only_memory_region
    
    namespace tf_gcs_filesystem {
    typedef struct GcsFileStat {
      TF_FileStatistics base;
      int64_t generation_number;
    } GcsFileStat;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/env.h

    // status.
    TF_CAPI_EXPORT extern void TF_AppendWritableFile(TF_WritableFileHandle* handle,
                                                     const char* data,
                                                     size_t length,
                                                     TF_Status* status);
    
    // Deletes the named file and indicates whether successful in *status.
    TF_CAPI_EXPORT extern void TF_DeleteFile(const char* filename,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/abstract_operation.h

      std::vector<size_t> lengths;
      raw_strs.reserve(values.size());
      lengths.reserve(values.size());
      for (const auto& s : values) {
        raw_strs.emplace_back(s.data());
        lengths.emplace_back(s.size());
      }
      return SetAttrStringList(attr_name,
                               reinterpret_cast<const void**>(raw_strs.data()),
                               lengths.data(), values.size());
    }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

    // Returns the length (number of tensors) of the input argument `input_name`
    // found in the provided `op`.
    TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op,
                                                   const char* input_name,
                                                   TF_Status* status);
    
    // Returns the length (number of tensors) of the output argument `output_name`
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. tensorflow/c/c_test.c

        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.h

      Status SetAttrFunctionName(const char* attr_name, const char* value,
                                 size_t length) override;
      Status SetAttrTensor(const char* attr_name,
                           AbstractTensorInterface* tensor) override;
      Status SetAttrStringList(const char* attr_name, const void* const* values,
                               const size_t* lengths, int num_values) override;
      Status SetAttrFloatList(const char* attr_name, const float* values,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  8. tensorflow/c/c_api_experimental.h

    // `len`. The format is subject to change in the future.
    // The returned string is heap-allocated, and caller should call free() on it.
    TF_CAPI_EXPORT extern const char* TF_GraphDebugString(TF_Graph* graph,
                                                          size_t* len);
    
    // Returns the function content in a human-readable format, with length set in
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/grappler/grappler.h

    // or removed during the graph transformation. This includes feed and fetch
    // nodes, keep_ops, init_ops. Fills in `values` and `lengths`, each of which
    // must point to an array of length at least `num_values`.
    //
    // The elements of values will point to addresses in `storage` which must be at
    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_internal.h

    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    // `ranks[i] == 1`, then `shapes[i]` may be nullptr.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top