- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CustomDevice (0.24 sec)
-
tensorflow/c/eager/parallel_device/parallel_device.cc
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.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
->tensor; } void AllocateLoggingDevice(const char* name, bool* arrived_flag, bool* executed_flag, TFE_CustomDevice** device, void** device_info) { TFE_CustomDevice* custom_device = new TFE_CustomDevice; custom_device->copy_tensor_to_device = &CopyToLoggingDevice; custom_device->copy_tensor_from_device = &CopyTensorFromLoggingDevice;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
return const_cast<void*>( static_cast<const void*>(tensor->tensor_data().data())); } namespace tensorflow { namespace { class CustomDeviceAPI : public tensorflow::CustomDevice { public: CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info, string name) : context_(context), device_(device), info_(info), name_(name) {}
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2)