MCPcopy 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

126inline int32 WeightedPicker::total_weight() const { return level_[0][0]; }
127
128inline int WeightedPicker::num_elements() const { return N_; }
129
130} // namespace random
131} // namespace tensorflow

Callers 15

GetFlatInt64Function · 0.45
IsFoldableMethod · 0.45
ConstantPushDownMethod · 0.45
TEST_FFunction · 0.45
IsScalarFunction · 0.45
CalculateTensorSizeFunction · 0.45
DoGatherMethod · 0.45

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.36
DoGatherMethod · 0.36
TEST_FFunction · 0.36
TestPickerFunction · 0.36
CheckUniformFunction · 0.36
CheckSkewedFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
ExecOpMethod · 0.36
TestAddShapeFunction · 0.36
TEST_FFunction · 0.36
InitTensorMethod · 0.36