MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TF_NumDims

Function TF_NumDims

tensorflow/c/tf_tensor.cc:169–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169int TF_NumDims(const TF_Tensor* t) { return t->tensor.dims(); }
170
171int64_t TF_Dim(const TF_Tensor* t, int dim_index) {
172 return static_cast<int64_t>(t->tensor.dim_size(dim_index));

Callers 15

ExpectOutputValueMethod · 0.85
RunTMethod · 0.85
RunMethod · 0.85
TEST_FFunction · 0.85
TF_TensorElementCountFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85

Calls 1

dimsMethod · 0.45

Tested by 9

ExpectOutputValueMethod · 0.68
RunTMethod · 0.68
RunMethod · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
RunMinTestFunction · 0.68
ScalarFloatFromTensorFunction · 0.68
TEST_FFunction · 0.68