| 24 | using histogram::Histogram; |
| 25 | |
| 26 | void EqHistograms(const Histogram& expected, |
| 27 | const HistogramProto& actual_proto) { |
| 28 | Histogram actual; |
| 29 | ASSERT_TRUE(actual.DecodeFromProto(actual_proto)); |
| 30 | |
| 31 | EXPECT_EQ(expected.ToString(), actual.ToString()); |
| 32 | } |
| 33 | |
| 34 | auto* sampler_with_labels = |
| 35 | Sampler<1>::New({"/tensorflow/test/sampler_with_labels", |
no test coverage detected