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

Method Rank

tensorflow/core/framework/shape_inference.h:357–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 static int32 Rank(ShapeHandle s) {
358 DCHECK(s.IsSet());
359 return s.IsSet() ? s->rank_ : kUnknownRank;
360 }
361 static bool RankKnown(ShapeHandle s) {
362 return (s.IsSet() && (Rank(s) != kUnknownRank));
363 }

Callers 12

EinsumShapeFunction · 0.45
ReductionShapeFunction · 0.45
ConcatShapeHelperFunction · 0.45
SliceShapeFunction · 0.45
GatherNdShapeFunction · 0.45
ScatterNdUpdateShapeFunction · 0.45
TESTFunction · 0.45
InferShapesMethod · 0.45
TEST_FFunction · 0.45

Calls 1

IsSetMethod · 0.45

Tested by 3

TESTFunction · 0.36
InferShapesMethod · 0.36
TEST_FFunction · 0.36