Searched refs:CreateFlag (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | command_line_flags_test.cc | 44 Flag::CreateFlag("some_int32", &some_int32, "some int32"), in TEST() 45 Flag::CreateFlag("some_int64", &some_int64, "some int64"), in TEST() 46 Flag::CreateFlag("some_switch", &some_switch, "some switch"), in TEST() 47 Flag::CreateFlag("some_name", &some_name, "some name"), in TEST() 48 Flag::CreateFlag("some_float", &some_float, "some float"), in TEST() 49 Flag::CreateFlag("some_bool", &some_bool, "some bool"), in TEST() 50 Flag::CreateFlag("some_numeric_bool", &some_numeric_bool, in TEST() 71 {Flag::CreateFlag("some_string", &some_string, "some string")}); in TEST() 84 {Flag::CreateFlag("some_int", &some_int, "some int")}); in TEST() 97 {Flag::CreateFlag("some_switch", &some_switch, "some switch")}); in TEST() [all …]
|
D | benchmark_model.cc | 69 CreateFlag<int32_t>("num_runs", ¶ms_, in GetFlags() 71 CreateFlag<float>( in GetFlags() 75 CreateFlag<float>("run_delay", ¶ms_, "delay between runs in seconds"), in GetFlags() 76 CreateFlag<int32_t>("num_threads", ¶ms_, "number of threads"), in GetFlags() 77 CreateFlag<std::string>("benchmark_name", ¶ms_, "benchmark name"), in GetFlags() 78 CreateFlag<std::string>("output_prefix", ¶ms_, in GetFlags() 80 CreateFlag<int32_t>( in GetFlags() 85 CreateFlag<float>( in GetFlags()
|
D | benchmark_tflite_model.cc | 228 CreateFlag<std::string>("graph", ¶ms_, "graph file name"), in GetFlags() 229 CreateFlag<std::string>("input_layer", ¶ms_, "input layer names"), in GetFlags() 230 CreateFlag<std::string>("input_layer_shape", ¶ms_, in GetFlags() 232 CreateFlag<bool>("use_nnapi", ¶ms_, "use nnapi api"), in GetFlags() 233 CreateFlag<bool>("allow_fp16", ¶ms_, "allow fp16")}; in GetFlags()
|
D | command_line_flags.h | 68 static Flag CreateFlag(const char* name, T* val, const char* usage) { in CreateFlag() function
|
D | benchmark_test.cc | 109 tflite::Flag::CreateFlag("graph", &model_path, "Path to model file.")}; in main()
|
D | benchmark_model.h | 130 Flag CreateFlag(const char* name, BenchmarkParams* params, in CreateFlag() function
|
/external/perfetto/src/profiling/memory/ |
D | shared_ring_buffer.h | 140 struct CreateFlag {}; struct 144 SharedRingBuffer(CreateFlag, size_t size);
|
D | shared_ring_buffer.cc | 54 SharedRingBuffer::SharedRingBuffer(CreateFlag, size_t size) { in SharedRingBuffer() argument 302 auto buf = SharedRingBuffer(CreateFlag(), size); in Create()
|