Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ num_elements
Method
num_elements
tensorflow/core/lib/random/weighted_picker.h:128–128 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
126
inline int32 WeightedPicker::total_weight() const { return level_[0][0]; }
127
128
inline int WeightedPicker::num_elements() const { return N_; }
129
130
} // namespace random
131
} // namespace tensorflow
Callers
15
GetFlatInt64
Function · 0.45
MaterializeReductionIndices
Method · 0.45
IsFoldable
Method · 0.45
CreateConstantTensorAttrValue
Function · 0.45
IsReductionWithConstantIndices
Method · 0.45
IsReductionCandidateForSimplification
Method · 0.45
ConstantPushDown
Method · 0.45
TEST_F
Function · 0.45
IsScalar
Function · 0.45
CalculateTensorSize
Function · 0.45
InferMemUsageForNeighbors
Method · 0.45
DoGather
Method · 0.45
Calls
no outgoing calls
Tested by
15
TEST_F
Function · 0.36
DoGather
Method · 0.36
TEST_F
Function · 0.36
TestPicker
Function · 0.36
CheckUniform
Function · 0.36
CheckSkewed
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
ExecOp
Method · 0.36
TestAddShape
Function · 0.36
TEST_F
Function · 0.36
InitTensor
Method · 0.36