Searched refs:BenchmarkParam (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_performance_options.cc | 142 BenchmarkParam::Create<std::string>("all")); in DefaultParams() 144 BenchmarkParam::Create<float>(-1.0f)); in DefaultParams() 146 BenchmarkParam::Create<bool>(true)); in DefaultParams() 279 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(count)); in CreatePerformanceOptions() 284 BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions() 286 BenchmarkParam::Create<int32_t>(count)); in CreatePerformanceOptions() 296 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions() 298 BenchmarkParam::Create<bool>(precision_loss)); in CreatePerformanceOptions() 303 params.AddParam("use_gpu", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions() 316 params.AddParam("use_nnapi", BenchmarkParam::Create<bool>(true)); in CreatePerformanceOptions() [all …]
|
D | benchmark_model.cc | 55 params.AddParam("num_runs", BenchmarkParam::Create<int32_t>(50)); in DefaultParams() 56 params.AddParam("min_secs", BenchmarkParam::Create<float>(1.0f)); in DefaultParams() 57 params.AddParam("max_secs", BenchmarkParam::Create<float>(150.0f)); in DefaultParams() 58 params.AddParam("run_delay", BenchmarkParam::Create<float>(-1.0f)); in DefaultParams() 59 params.AddParam("run_frequency", BenchmarkParam::Create<float>(-1.0f)); in DefaultParams() 60 params.AddParam("num_threads", BenchmarkParam::Create<int32_t>(-1)); in DefaultParams() 61 params.AddParam("use_caching", BenchmarkParam::Create<bool>(false)); in DefaultParams() 62 params.AddParam("benchmark_name", BenchmarkParam::Create<std::string>("")); in DefaultParams() 63 params.AddParam("output_prefix", BenchmarkParam::Create<std::string>("")); in DefaultParams() 64 params.AddParam("warmup_runs", BenchmarkParam::Create<int32_t>(1)); in DefaultParams() [all …]
|
D | benchmark_tflite_model.cc | 339 default_params.AddParam("graph", BenchmarkParam::Create<std::string>("")); in DefaultParams() 341 BenchmarkParam::Create<std::string>("")); in DefaultParams() 343 BenchmarkParam::Create<std::string>("")); in DefaultParams() 345 BenchmarkParam::Create<std::string>("")); in DefaultParams() 347 BenchmarkParam::Create<std::string>("")); in DefaultParams() 348 default_params.AddParam("allow_fp16", BenchmarkParam::Create<bool>(false)); in DefaultParams() 350 BenchmarkParam::Create<bool>(false)); in DefaultParams() 353 BenchmarkParam::Create<bool>(kOpProfilingEnabledDefault)); in DefaultParams() 355 BenchmarkParam::Create<int32_t>(1024)); in DefaultParams() 357 BenchmarkParam::Create<bool>(false)); in DefaultParams() [all …]
|
D | benchmark_params.h | 22 using BenchmarkParam = tflite::tools::ToolParam; variable
|