| 228 | } |
| 229 | |
| 230 | void 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 | |
| 241 | void BM_SDCA_LARGE_DENSE(const int iters, const int num_examples) { |
| 242 | testing::StopTiming(); |
nothing calls this directly
no test coverage detected