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

Function BM_SDCA

tensorflow/core/kernels/sdca_ops_test.cc:230–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void BM_SDCA(const int iters, const int num_examples) {
231 testing::StopTiming();
232 Graph* init = nullptr;
233 Graph* train = nullptr;
234 GetGraphs(num_examples, 20 /* sparse feature groups */,
235 5 /* sparse features per group */, 1 /* dense feature groups*/,
236 20 /* dense features per group */, &init, &train);
237 testing::StartTiming();
238 test::Benchmark("cpu", train, GetSingleThreadedOptions(), init).Run(iters);
239}
240
241void BM_SDCA_LARGE_DENSE(const int iters, const int num_examples) {
242 testing::StopTiming();

Callers

nothing calls this directly

Calls 6

StopTimingFunction · 0.85
GetGraphsFunction · 0.85
StartTimingFunction · 0.85
GetSingleThreadedOptionsFunction · 0.85
BenchmarkClass · 0.50
RunMethod · 0.45

Tested by

no test coverage detected