Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 546 for size_t (0.22 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    } GCSFile;
    
    // This function is used to initialize a filesystem without the need of setting
    // manually environement variables.
    void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size,
                  size_t max_bytes, uint64_t max_staleness,
                  uint64_t stat_cache_max_age, size_t stat_cache_max_entries,
                  TF_Status* status);
    
    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)
  2. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    // Helper to un-pack `num_replicas` TFE_TensorHandles from one parallel handle.
    template <std::size_t num_replicas>
    void ExtractPerDeviceValues(
        TFE_Context* context, TFE_TensorHandle* input,
        std::array<TensorHandlePtr, num_replicas>* components, TF_Status* status);
    
    // Helper to pack `num_replicas` TFE_TensorHandles into one parallel handle.
    template <std::size_t num_replicas>
    TensorHandlePtr CreatePerDeviceValues(
        TFE_Context* context,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/c/eager/gradients_internal.h

                               const char* value, size_t length, ForwardOperation*);
    Status SetAttrTensor(AbstractOperation*, const char* attr_name,
                         AbstractTensorInterface* tensor, ForwardOperation*);
    Status SetAttrStringList(AbstractOperation*, const char* attr_name,
                             const void* const* values, const size_t* lengths,
                             int num_values, ForwardOperation*);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

      off_t offset = 0;
      int bytes_transferred = 0;
      int rc = 1;
      // When `sendfile` returns 0 we stop copying and let callers handle this.
      while (offset < size && rc > 0) {
        size_t chunk = size - offset;
        if (chunk > kPosixCopyFileBufferSize) chunk = kPosixCopyFileBufferSize;
    
        rc = read(src_fd, buffer.get(), chunk);
        if (rc < 0) return -1;
    
        int total_write = 0;
        int total_read = rc;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/abstract_operation.h

                                         size_t length) = 0;
      virtual Status SetAttrTensor(const char* attr_name,
                                   AbstractTensorInterface* tensor) = 0;
      virtual Status SetAttrStringList(const char* attr_name,
                                       const void* const* values,
                                       const size_t* lengths, int num_values) = 0;
    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)
  7. tensorflow/c/eager/dlpack_test.cc

                              std::vector<int64_t> shape,
                              std::vector<int64_t> strides) {
      size_t num_elements = 1;
      for (int i = 0; i < static_cast<int32_t>(shape.size()); ++i) {
        num_elements *= shape[i];
      }
      std::vector<float> data(num_elements);
      for (size_t j = 0; j < num_elements; ++j) {
        data[j] = j;
      }
      DLManagedTensor dlm_in = {};
      DLTensor* dltensor_in = &dlm_in.dl_tensor;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      for (auto input : inputs) {
        forward_op_.inputs.push_back(input);
      }
      return OkStatus();
    }
    Status TapeOperation::SetAttrString(const char* attr_name, const char* data,
                                        size_t length) {
      forward_op_.attrs.Set(attr_name, StringPiece(data, length));
      return parent_op_->SetAttrString(attr_name, data, length);
    }
    Status TapeOperation::SetAttrInt(const char* attr_name, int64_t value) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  9. tensorflow/c/env.h

    typedef struct TF_Thread TF_Thread;
    
    typedef struct TF_ThreadOptions {
      // Thread stack size to use (in bytes), zero implies that the system default
      // will be used.
      size_t stack_size;
    
      // Guard area size to use near thread stacks to use (in bytes), zero implies
      // that the system default will be used.
      size_t guard_size;
    
      // The NUMA node to use, -1 implies that there should be no NUMA affinity for
      // this thread.
    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)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.h

          std::unique_ptr<const TF_WritableFileOps> writable_file_ops,
          std::unique_ptr<const TF_ReadOnlyMemoryRegionOps>
              read_only_memory_region_ops,
          std::function<void*(size_t)> plugin_memory_allocate,
          std::function<void(void*)> plugin_memory_free)
          : filesystem_(std::move(filesystem)),
            ops_(std::move(filesystem_ops)),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top