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

Method Probability

tensorflow/core/kernels/range_sampler.cc:155–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155float UniformSampler::Probability(int64 value) const { return inv_range_; }
156
157LogUniformSampler::LogUniformSampler(int64 range)
158 : RangeSampler(range), log_range_(log1p(range)) {}

Callers 3

CheckHistogramMethod · 0.45
TEST_FFunction · 0.45

Calls 5

total_weightMethod · 0.80
logClass · 0.70
get_weightMethod · 0.45
sizeMethod · 0.45
atMethod · 0.45

Tested by 3

CheckHistogramMethod · 0.36
TEST_FFunction · 0.36