- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFE_TensorHandleTensorDebugInfo (0.26 sec)
-
tensorflow/c/eager/c_api_debug_test.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteContextOptions(opts); TFE_TensorHandle* h = TestScalarTensorHandle(ctx, 1.0f); TFE_TensorDebugInfo* debug_info = TFE_TensorHandleTensorDebugInfo(h, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(0, TFE_TensorDebugInfoOnDeviceNumDims(debug_info)); TFE_DeleteTensorDebugInfo(debug_info); TFE_DeleteTensorHandle(h);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Apr 06 22:10:09 UTC 2020 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_debug.cc
if (!status->ok()) { return shape; } shape.push_back(dim); } return shape; } } // namespace extern "C" { TF_CAPI_EXPORT extern TFE_TensorDebugInfo* TFE_TensorHandleTensorDebugInfo( TFE_TensorHandle* h, TF_Status* status) { tensorflow::TensorHandle* handle = TensorHandleFromInterface(tensorflow::unwrap(h)); const tensorflow::Tensor* tensor;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
// profiling tensors. typedef struct TFE_TensorDebugInfo TFE_TensorDebugInfo; // Retrieves TFE_TensorDebugInfo for `handle`. // If TFE_TensorHandleTensorDebugInfo succeeds, `status` is set to OK and caller // is responsible for deleting returned TFE_TensorDebugInfo. // If TFE_TensorHandleTensorDebugInfo fails, `status` is set to appropriate // error and nullptr is returned. This function can block till the operation
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0)