Home
last modified time | relevance | path

Searched refs:BenchmarkParam (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_performance_options.cc129 BenchmarkParam::Create<std::string>("all")); in DefaultParams()
131 BenchmarkParam::Create<float>(-1.0f)); in DefaultParams()
133 BenchmarkParam::Create<bool>(true)); in DefaultParams()
262 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(count)); in CreatePerformanceOptions()
267 BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
269 BenchmarkParam::Create<int32_t>(count)); in CreatePerformanceOptions()
279 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
281 BenchmarkParam::Create<bool>(precision_loss)); in CreatePerformanceOptions()
286 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
299 params.AddParam("use_nnapi", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions()
[all …]
Dbenchmark_model.cc32 params.AddParam("num_runs", BenchmarkParam::Create<int32_t>(50)); in DefaultParams()
33 params.AddParam("min_secs", BenchmarkParam::Create<float>(1.0f)); in DefaultParams()
34 params.AddParam("max_secs", BenchmarkParam::Create<float>(150.0f)); in DefaultParams()
35 params.AddParam("run_delay", BenchmarkParam::Create<float>(-1.0f)); in DefaultParams()
36 params.AddParam("run_frequency", BenchmarkParam::Create<float>(-1.0f)); in DefaultParams()
37 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
38 params.AddParam("use_caching", BenchmarkParam::Create<bool>(false)); in DefaultParams()
39 params.AddParam("benchmark_name", BenchmarkParam::Create<std::string>("")); in DefaultParams()
40 params.AddParam("output_prefix", BenchmarkParam::Create<std::string>("")); in DefaultParams()
41 params.AddParam("warmup_runs", BenchmarkParam::Create<int32_t>(1)); in DefaultParams()
[all …]
Dbenchmark_tflite_model.cc238 default_params.AddParam("graph", BenchmarkParam::Create<std::string>("")); in DefaultParams()
240 BenchmarkParam::Create<std::string>("")); in DefaultParams()
242 BenchmarkParam::Create<std::string>("")); in DefaultParams()
244 BenchmarkParam::Create<std::string>("")); in DefaultParams()
246 BenchmarkParam::Create<std::string>("")); in DefaultParams()
247 default_params.AddParam("allow_fp16", BenchmarkParam::Create<bool>(false)); in DefaultParams()
249 BenchmarkParam::Create<bool>(false)); in DefaultParams()
252 BenchmarkParam::Create<bool>(kOpProfilingEnabledDefault)); in DefaultParams()
254 BenchmarkParam::Create<int32_t>(1024)); in DefaultParams()
256 BenchmarkParam::Create<std::string>("")); in DefaultParams()
Dbenchmark_params.h22 using BenchmarkParam = tflite::tools::ToolParam; variable