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

Method RankKnown

tensorflow/core/framework/shape_inference.h:361–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 return s.IsSet() ? s->rank_ : kUnknownRank;
360 }
361 static bool RankKnown(ShapeHandle s) {
362 return (s.IsSet() && (Rank(s) != kUnknownRank));
363 }
364 static inline int64 Value(DimensionOrConstant d) {
365 return d.dim.IsSet() ? d.dim->value_ : d.val;
366 }

Callers 15

ShapeHandleToTensorShapeFunction · 0.80
model_ops.ccFile · 0.80
ReduceSliceShapeFnFunction · 0.80
ProtoFromShapeHandleFunction · 0.80
UnchangedRankFunction · 0.80
xla_ops.ccFile · 0.80
ShapeHandleToTensorShapeFunction · 0.80
string_ops.ccFile · 0.80

Calls 2

RankFunction · 0.50
IsSetMethod · 0.45

Tested by 3

TESTFunction · 0.64
InferShapesMethod · 0.64
TEST_FFunction · 0.64