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

Function BM_AddSign

tensorflow/core/kernels/training_ops_test.cc:337–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337static void BM_AddSign(int iters, int params) {
338 const int64 tot = static_cast<int64>(iters) * params;
339 testing::ItemsProcessed(tot);
340 testing::BytesProcessed(tot * sizeof(float));
341 Graph* init;
342 Graph* train;
343 AddSign(params, &init, &train);
344 test::Benchmark("cpu", train, GetOptions(), init).Run(iters);
345}
346BENCHMARK(BM_AddSign)->Arg(128 << 10)->Arg(256 << 10);
347
348static void PowerSign(int32 n, Graph** init_g, Graph** train_g) {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected