Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Sellers (0.17 sec)

  1. tensorflow/c/eager/c_api.h

        TFE_TensorHandle* h, TF_Status* status);
    
    // This function will block till the operation that produces `h` has
    // completed. The memory returned might alias the internal memory used by
    // TensorFlow. Hence, callers should not mutate this memory (for example by
    // modifying the memory region pointed to by TF_TensorData() on the returned
    // TF_Tensor).
    TF_CAPI_EXPORT extern TF_Tensor* TFE_TensorHandleResolve(TFE_TensorHandle* h,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/c_api.cc

            shape_handle, static_cast<DataType>(types[i]));
      }
    
      ic->set_output_handle_shapes_and_types(output.index, shape_and_type_vec);
    }
    
    // Helpers for loading a TensorFlow plugin (a .so file).
    Status LoadDynamicLibrary(const char* library_filename, void** result,
                              const void** buf, size_t* len);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_test_util.cc

      TF_AddInput(desc, {input, 0});
      TF_SetAttrInt(desc, "num_split", 3);
      TF_SetAttrType(desc, "T", TF_INT32);
      // Set device to CPU since there is no version of split for int32 on GPU
      // TODO(iga): Convert all these helpers and tests to use floats because
      // they are usually available on GPUs. After doing this, remove TF_SetDevice
      // call in c_api_function_test.cc
      TF_SetDevice(desc, "/cpu:0");
      *op = TF_FinishOperation(desc, s);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

    }
    
    TEST(RamFileBlockCacheTest, ParallelReads) {
      // This fetcher won't respond until either `callers` threads are calling it
      // concurrently (at which point it will respond with success to all callers),
      // or 10 seconds have elapsed (at which point it will respond with an error).
      const int callers = 4;
      BlockingCounter counter(callers);
      auto fetcher = [&counter](const string& filename, size_t offset, size_t n,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

      std::unique_ptr<char[]> buffer(new char[kPosixCopyFileBufferSize]);
    
      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);
    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/immediate_execution_tensor_handle.h

      virtual AbstractTensorInterface* Resolve(Status* status) = 0;
    
      std::string DebugString() const override;
    
      // Returns a Boolean hint indicating whether callers should prefer
      // `SummarizeValue` to resolving this handle and formatting the tensor.
      //
      // For example some tensor handles may represent distributed values, in which
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    #include "tensorflow/c/tf_tensor_internal.h"
    #include "tensorflow/compiler/jit/variable_info.h"
    #include "tensorflow/compiler/jit/variable_info_util.h"
    #include "xla/pjrt/c/pjrt_c_api.h"
    #include "xla/pjrt/c/pjrt_c_api_helpers.h"
    #include "xla/pjrt/pjrt_c_api_client.h"
    #include "xla/pjrt/pjrt_client.h"
    #include "tensorflow/core/common_runtime/next_pluggable_device/plugin_resource.h"
    #include "tensorflow/core/framework/op_kernel.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  8. tensorflow/c/c_api.h

    // * int is used as an index into arrays.
    // * Deletion functions are safe to call on nullptr.
    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    // * Backing store for tensor memory has an associated deallocation
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  9. tensorflow/c/experimental/next_pluggable_device/BUILD

            "@local_xla//xla/pjrt:pjrt_c_api_client",
            "@local_xla//xla/pjrt:pjrt_client",
            "@local_xla//xla/pjrt/c:pjrt_c_api_hdrs",
            "@local_xla//xla/pjrt/c:pjrt_c_api_helpers",
        ],
    )
    
    # Plugin should include this target to avoid linking the C API implementation.
    cc_library(
        name = "c_api_hdrs",
        hdrs = ["c_api.h"],
        visibility = ["//visibility:public"],
        deps = [
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.cc

        TF_DeleteShapeAndTypeList(shape_list_array[i]);
      }
      delete[] shape_list_array;
    }
    
    namespace tensorflow {
    Status TF_TensorToTensor(const TF_Tensor* src, Tensor* dst);
    
    // Helpers for loadding a TensorFlow PluggableDevice plugin (a .so file).
    Status LoadPluggableDeviceLibrary(const char* library_filename, void** result);
    }  // namespace tensorflow
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top