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

Method unknown_rank

tensorflow/core/framework/tensor_shape.h:247–249  ·  view source on GitHub ↗

Return whether the rank is unknown

Source from the content-addressed store, hash-verified

245
246 /// Return whether the rank is unknown
247 bool unknown_rank() const {
248 return kIsPartial && ndims_byte() == kUnknownRank;
249 }
250
251 /// Return the number of dimensions in the tensor.
252 /// Can be -1 meaning unknown rank for PartialTensorShape.

Callers 15

ShapeToPythonFunction · 0.80
SetOpAttrListDefaultFunction · 0.80
PrintNodeInfoMethod · 0.80
MaybeMergeConstNodesMethod · 0.80
ConvertToMlirTensorTypeFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
IsValidMethod · 0.80

Calls

no outgoing calls

Tested by 7

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
PropToStringMethod · 0.64
TEST_FFunction · 0.64