Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
EinsumShape
Function · 0.45
CheckFormatConstraintsOnShape
Function · 0.45
ReductionShape
Function · 0.45
ConcatShapeHelper
Function · 0.45
BroadcastBinaryOpOutputShapeFnHelper
Function · 0.45
UnsortedSegmentReductionShapeFn
Function · 0.45
SliceShape
Function · 0.45
GatherNdShape
Function · 0.45
ScatterNdUpdateShape
Function · 0.45
TEST
Function · 0.45
InferShapes
Method · 0.45
TEST_F
Function · 0.45
Calls
1
IsSet
Method · 0.45
Tested by
3
TEST
Function · 0.36
InferShapes
Method · 0.36
TEST_F
Function · 0.36