- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for delete_device (0.1 sec)
-
tensorflow/c/eager/parallel_device/parallel_device.cc
status) .release(); if (TF_GetCode(status) != TF_OK) return; } } *num_outputs = typed_outputs.size(); } // For TFE_CustomDevice::delete_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) -
tensorflow/c/eager/c_api_experimental.h
void (*execute)(const TFE_Op* op, int* num_outputs, TFE_TensorHandle** outputs, TF_Status* s, void* device_info); // Method to delete a device. void (*delete_device)(void* device_info); // Implements TFE_CreatePackedTensorHandle when one of `handles` is on this // custom device. // // Many devices will want to simply return an "unimplemented" status
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info, string name) : context_(context), device_(device), info_(info), name_(name) {} ~CustomDeviceAPI() override { device_.delete_device(info_); } const string& name() override { return name_; } absl::Status CopyTensorToDevice( ImmediateExecutionTensorHandle* handle, ImmediateExecutionTensorHandle** result) override {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)