Home
last modified time | relevance | path

Searched refs:CreateFlag (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dcommand_line_flags_test.cc44 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 …]
Dbenchmark_model.cc69 CreateFlag<int32_t>("num_runs", &params_, in GetFlags()
71 CreateFlag<float>( in GetFlags()
75 CreateFlag<float>("run_delay", &params_, "delay between runs in seconds"), in GetFlags()
76 CreateFlag<int32_t>("num_threads", &params_, "number of threads"), in GetFlags()
77 CreateFlag<std::string>("benchmark_name", &params_, "benchmark name"), in GetFlags()
78 CreateFlag<std::string>("output_prefix", &params_, in GetFlags()
80 CreateFlag<int32_t>( in GetFlags()
85 CreateFlag<float>( in GetFlags()
Dbenchmark_tflite_model.cc228 CreateFlag<std::string>("graph", &params_, "graph file name"), in GetFlags()
229 CreateFlag<std::string>("input_layer", &params_, "input layer names"), in GetFlags()
230 CreateFlag<std::string>("input_layer_shape", &params_, in GetFlags()
232 CreateFlag<bool>("use_nnapi", &params_, "use nnapi api"), in GetFlags()
233 CreateFlag<bool>("allow_fp16", &params_, "allow fp16")}; in GetFlags()
Dcommand_line_flags.h68 static Flag CreateFlag(const char* name, T* val, const char* usage) { in CreateFlag() function
Dbenchmark_test.cc109 tflite::Flag::CreateFlag("graph", &model_path, "Path to model file.")}; in main()
Dbenchmark_model.h130 Flag CreateFlag(const char* name, BenchmarkParams* params, in CreateFlag() function
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.h140 struct CreateFlag {}; struct
144 SharedRingBuffer(CreateFlag, size_t size);
Dshared_ring_buffer.cc54 SharedRingBuffer::SharedRingBuffer(CreateFlag, size_t size) { in SharedRingBuffer() argument
302 auto buf = SharedRingBuffer(CreateFlag(), size); in Create()