Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for make_unique (0.21 sec)

  1. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc

    }
    
    absl::Status SetPjRtCBufferToTensor(PJRT_Buffer* c_buffer,
                                        xla::PjRtCApiClient* c_api_client,
                                        Tensor* tensor) {
      auto buffer = std::make_unique<xla::PjRtCApiBuffer>(c_api_client, c_buffer);
      tensorflow::AsyncValueTensor* av_tensor =
          tensorflow::AsyncValueTensor::FromTensor(tensor);
      if (av_tensor == nullptr) {
        TF_ASSIGN_OR_RETURN(
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top