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

Method IsFullyDefined

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

Return true iff the rank and all of the dimensions are well defined TODO(irving): Rename to is_fully_defined now that it's fast.

Source from the content-addressed store, hash-verified

268 /// Return true iff the rank and all of the dimensions are well defined
269 // TODO(irving): Rename to is_fully_defined now that it's fast.
270 bool IsFullyDefined() const { return !kIsPartial || num_elements() != -1; }
271
272 /// Fill `*proto` from `*this`.
273 void AsProto(TensorShapeProto* proto) const;

Callers 15

BuildCompileOpFunction · 0.80
CompileMethod · 0.80
GetInferredInputShapesFunction · 0.80
TESTFunction · 0.80
MaterializeShapesMethod · 0.80
IsFoldableMethod · 0.80
IsSimplifiableReshapeMethod · 0.80
ConstantPushDownMethod · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
TEST_FFunction · 0.64