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

Function BM_PowerSign

tensorflow/core/kernels/training_ops_test.cc:374–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374static void BM_PowerSign(int iters, int params) {
375 const int64 tot = static_cast<int64>(iters) * params;
376 testing::ItemsProcessed(tot);
377 testing::BytesProcessed(tot * sizeof(float));
378 Graph* init;
379 Graph* train;
380 PowerSign(params, &init, &train);
381 test::Benchmark("cpu", train, GetOptions(), init).Run(iters);
382}
383BENCHMARK(BM_PowerSign)->Arg(128 << 10)->Arg(256 << 10);
384
385} // end namespace tensorflow

Callers

nothing calls this directly

Calls 6

ItemsProcessedFunction · 0.85
BytesProcessedFunction · 0.85
PowerSignFunction · 0.85
GetOptionsFunction · 0.70
BenchmarkClass · 0.50
RunMethod · 0.45

Tested by

no test coverage detected