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

Function BM_ManyConsts_Sequential

tensorflow/core/kernels/constant_op_test.cc:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117BENCHMARK(BM_ManyConsts_Parallel)->Range(1, 1 << 10);
118
119static void BM_ManyConsts_Sequential(int iters, int num) {
120 testing::ItemsProcessed(static_cast<int64>(iters) * num);
121 test::Benchmark("cpu", ManyConsts(num, true /* sequential */)).Run(iters);
122}
123BENCHMARK(BM_ManyConsts_Sequential)->Range(1, 1 << 10);
124
125} // end namespace tensorflow

Callers

nothing calls this directly

Calls 4

ItemsProcessedFunction · 0.85
ManyConstsFunction · 0.85
BenchmarkClass · 0.50
RunMethod · 0.45

Tested by

no test coverage detected