Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
169
int TF_NumDims(const TF_Tensor* t) { return t->tensor.dims(); }
170
171
int64_t TF_Dim(const TF_Tensor* t, int dim_index) {
172
return static_cast<int64_t>(t->tensor.dim_size(dim_index));
Callers
15
GetPyArrayDimensionsForTensor
Function · 0.85
Java_org_tensorflow_Tensor_shape
Function · 0.85
Java_org_tensorflow_Tensor_setValue
Function · 0.85
Java_org_tensorflow_Tensor_scalarBytes
Function · 0.85
Java_org_tensorflow_Tensor_readNDArray
Function · 0.85
ExpectOutputValue
Method · 0.85
RunT
Method · 0.85
Run
Method · 0.85
TEST_F
Function · 0.85
TF_TensorElementCount
Function · 0.85
TEST_F
Function · 0.85
TEST
Function · 0.85
Calls
1
dims
Method · 0.45
Tested by
9
ExpectOutputValue
Method · 0.68
RunT
Method · 0.68
Run
Method · 0.68
TEST_F
Function · 0.68
TEST_F
Function · 0.68
TEST
Function · 0.68
RunMinTest
Function · 0.68
ScalarFloatFromTensor
Function · 0.68
TEST_F
Function · 0.68