- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for copy_tensor_to_device (0.09 seconds)
-
tensorflow/c/eager/c_api_experimental.h
typedef struct TFE_CustomDevice { int version = TFE_CUSTOM_DEVICE_VERSION; // Method to copy a tensor to the custom device. TFE_TensorHandle* (*copy_tensor_to_device)(TFE_Context* context, TFE_TensorHandle* tensor, TF_Status* status, void* device_info);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
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();Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0)