Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copy_tensor_to_device (0.16 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device.cc

      return TensorHandlePtr(TFE_NewCustomDeviceTensorHandle(
          context, parallel_device_name.c_str(), t_released->dtype(), t_released,
          handle_methods, status));
    }
    
    // For TFE_CustomDevice::copy_tensor_to_device in the parallel device
    // registration.
    //
    // Since this function is used to satisfy the TFE_CustomDevice C API,
    // device_info is passed in using a C-style generic. It must always be a
    // ParallelDevice.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

          ImmediateExecutionTensorHandle* handle,
          ImmediateExecutionTensorHandle** result) override {
        handle->Ref();
        TF_Status status;
        TFE_TensorHandle* result_handle = device_.copy_tensor_to_device(
            context_, tensorflow::wrap(handle), &status, info_);
        handle->Unref();
        if (!status.status.ok()) return status.status;
        *result = tensorflow::unwrap(result_handle);
        (*result)->Ref();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top