- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UnpackTensorHandle (0.11 sec)
-
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);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 27 23:39:24 UTC 2020 - 1.6K bytes - Viewed (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))
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Mar 03 20:47:31 UTC 2021 - 8.3K bytes - Viewed (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(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 27 23:39:24 UTC 2020 - 18.4K bytes - Viewed (0)