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

Function BM_RMSProp

tensorflow/core/kernels/training_ops_test.cc:300–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300static void BM_RMSProp(int iters, int params) {
301 const int64 tot = static_cast<int64>(iters) * params;
302 testing::ItemsProcessed(tot);
303 testing::BytesProcessed(tot * sizeof(float));
304 Graph* init;
305 Graph* train;
306 RMSProp(params, &init, &train);
307 test::Benchmark("cpu", train, GetOptions(), init).Run(iters);
308}
309BENCHMARK(BM_RMSProp)->Arg(128 << 10)->Arg(256 << 10);
310
311static void AddSign(int32 n, Graph** init_g, Graph** train_g) {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected