Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_CreatePjRtBuffer (0.18 sec)

  1. tensorflow/c/experimental/next_pluggable_device/c_api.h

                                                         TF_Status* status);
    
    // Creates a `PjRtCApiBuffer` with the `PJRT_Buffer*` passed in and set to the
    // tensor.
    TF_CAPI_EXPORT extern void TF_CreatePjRtBuffer(TF_Tensor* c_tensor,
                                                   PJRT_Buffer* c_buffer,
                                                   const char* device_type,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      if (!c_buffer.ok()) {
        status->status = c_buffer.status();
        return nullptr;
      }
      status->status = absl::OkStatus();
      return *c_buffer;
    }
    
    void TF_CreatePjRtBuffer(TF_Tensor* c_tensor, PJRT_Buffer* c_buffer,
                             const char* device_type, TF_Status* status) {
      tensorflow::Tensor tensor;
      auto s = tensorflow::TF_TensorToTensor(c_tensor, &tensor);
    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)
Back to top