- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_TensorDebugInfoOnDeviceDim (0.18 seconds)
-
tensorflow/c/eager/c_api_debug_test.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(2, TFE_TensorDebugInfoOnDeviceNumDims(debug_info)); // Shape is the same for CPU tensors. EXPECT_EQ(3, TFE_TensorDebugInfoOnDeviceDim(debug_info, 0)); EXPECT_EQ(2, TFE_TensorDebugInfoOnDeviceDim(debug_info, 1)); TFE_DeleteTensorDebugInfo(debug_info); TFE_DeleteTensorHandle(h); TFE_DeleteContext(ctx); TF_DeleteStatus(status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Apr 06 22:10:09 GMT 2020 - 2.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_debug.cc
delete debug_info; } TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( TFE_TensorDebugInfo* debug_info) { return debug_info->dev_dims.size(); } TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim( TFE_TensorDebugInfo* debug_info, int dim_index) { return debug_info->dev_dims[dim_index]; }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 2.5K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// not the XLA's minor-to-major order. // On-device dimensions can be padded. TFE_TensorDebugInfoOnDeviceDim returns // the number of elements in a dimension after padding. // The return value was current at the time of TFE_TensorDebugInfo creation. TF_CAPI_EXPORT extern int64_t TFE_TensorDebugInfoOnDeviceDim( TFE_TensorDebugInfo* debug_info, int dim_index); // Description of the TensorFlow op to execute. //
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0)