- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for UnpackTensorHandle (0.18 seconds)
-
tensorflow/c/eager/custom_device_testutil.h
void AllocateLoggingDevice(const char* name, bool* arrived_flag, bool* executed_flag, TFE_CustomDevice** device, void** device_info); TFE_TensorHandle* UnpackTensorHandle(TFE_TensorHandle* logged_tensor_handle, TF_Status* status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 1.6K bytes - Click Count (0) -
tensorflow/c/eager/custom_device_testutil.cc
device->strict_scope_placement = strict_scope_placement; TFE_RegisterCustomDevice(context, custom_device, name, device, status); } TFE_TensorHandle* UnpackTensorHandle(TFE_TensorHandle* logged_tensor_handle, TF_Status* status) { return reinterpret_cast<LoggedTensor*>( TFE_TensorHandleDevicePointer(logged_tensor_handle, status))
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/custom_device_test.cc
ASSERT_EQ(tensorflow::string(name), tensorflow::string( TFE_TensorHandleBackingDeviceName(var_value, status.get()))); TFE_TensorHandle* var_value_unpacked = UnpackTensorHandle(var_value, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> resolved_value(
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Click Count (0)