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

Function TEST

tensorflow/core/lib/monitoring/sampler_test.cc:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 Buckets::Explicit({10.0, 20.0}));
38
39TEST(LabeledSamplerTest, InitializedEmpty) {
40 Histogram empty;
41 EqHistograms(empty, sampler_with_labels->GetCell("Empty")->value());
42}
43
44TEST(LabeledSamplerTest, ExplicitBucketBoundaries) {
45 // Sampler automatically adds DBL_MAX to the list of buckets.

Callers

nothing calls this directly

Calls 6

EqHistogramsFunction · 0.70
valueMethod · 0.45
GetCellMethod · 0.45
AddMethod · 0.45
okMethod · 0.45
GetStatusMethod · 0.45

Tested by

no test coverage detected