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

Method value

tensorflow/core/lib/monitoring/sampler.h:199–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197inline void SamplerCell::Add(const double sample) { histogram_.Add(sample); }
198
199inline HistogramProto SamplerCell::value() const {
200 HistogramProto pb;
201 histogram_.EncodeToProto(&pb, true /* preserve_zero_buckets */);
202 return pb;
203}
204
205template <int NumLabels>
206Sampler<NumLabels>* Sampler<NumLabels>::New(

Callers 1

SamplerMethod · 0.45

Calls 1

EncodeToProtoMethod · 0.45

Tested by

no test coverage detected