Home
last modified time | relevance | path

Searched refs:benchmark_entries (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dreporter_test.cc106 BenchmarkEntries benchmark_entries; in TEST() local
107 ASSERT_TRUE(benchmark_entries.ParseFromString(read)); in TEST()
108 ASSERT_EQ(1, benchmark_entries.entry_size()); in TEST()
109 const BenchmarkEntry& benchmark_entry = benchmark_entries.entry(0); in TEST()
131 BenchmarkEntries benchmark_entries; in TEST() local
132 ASSERT_TRUE(benchmark_entries.ParseFromString(read)); in TEST()
133 ASSERT_EQ(1, benchmark_entries.entry_size()); in TEST()
134 const BenchmarkEntry& benchmark_entry = benchmark_entries.entry(0); in TEST()
154 BenchmarkEntries benchmark_entries; in TEST() local
155 ASSERT_TRUE(benchmark_entries.ParseFromString(read)); in TEST()
[all …]
/external/tensorflow/tensorflow/python/platform/
Dbenchmark_test.py46 benchmark_entries = test_log_pb2.BenchmarkEntries()
47 benchmark_entries.ParseFromString(f.read())
50 benchmark_entries, preserving_proto_field_name=True,
78 self.assertEqual(2000, benchmark_entries.entry[0].iters)