- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for copy_tensor_to_device (0.11 seconds)
-
tensorflow/c/eager/custom_device_testutil.cc
bool strict_scope_placement, bool* arrived_flag, bool* executed_flag, TF_Status* status) { TFE_CustomDevice custom_device; custom_device.copy_tensor_to_device = &CopyToLoggingDevice; custom_device.copy_tensor_from_device = &CopyTensorFromLoggingDevice; custom_device.delete_device = &DeleteLoggingDevice; custom_device.execute = &LoggingDeviceExecute;Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Dec 20 23:30:21 GMT 2025 - 8.4K bytes - Click Count (0) -
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)