Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/tools/
Dcommand_line_flags_test.cc49 Flag::CreateFlag("some_int32", &some_int32, "some int32"), in TEST()
50 Flag::CreateFlag("some_int64", &some_int64, "some int64"), in TEST()
51 Flag::CreateFlag("some_switch", &some_switch, "some switch"), in TEST()
52 Flag::CreateFlag("some_name", &some_name, "some name"), in TEST()
53 Flag::CreateFlag("some_float", &some_float, "some float"), in TEST()
54 Flag::CreateFlag("some_bool", &some_bool, "some bool"), in TEST()
55 Flag::CreateFlag("some_numeric_bool", &some_numeric_bool, in TEST()
57 Flag::CreateFlag("some_int1", &some_int1, "some int"), in TEST()
58 Flag::CreateFlag("some_int2", &some_int2, "some int", in TEST()
60 Flag::CreateFlag("float_1", &float_1, "some float", in TEST()
[all …]
Dgen_op_registration_main.cc39 tflite::Flag::CreateFlag(kInputModelFlag, input_models, in ParseFlagAndInit()
41 tflite::Flag::CreateFlag(kOutputRegistrationFlag, output_registration, in ParseFlagAndInit()
43 tflite::Flag::CreateFlag(kTfLitePathFlag, tflite_path, in ParseFlagAndInit()
45 tflite::Flag::CreateFlag( in ParseFlagAndInit()
48 tflite::Flag::CreateFlag( in ParseFlagAndInit()
Dlist_flex_ops_main.cc28 tflite::Flag::CreateFlag(kInputModelsFlag, &input_models, in main()
Dcommand_line_flags.h76 static Flag CreateFlag(const char* name, T* val, const char* usage,
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_model.cc73 CreateFlag<int32_t>( in GetFlags()
76 CreateFlag<float>( in GetFlags()
80 CreateFlag<float>( in GetFlags()
86 CreateFlag<float>("run_delay", &params_, "delay between runs in seconds"), in GetFlags()
87 CreateFlag<float>( in GetFlags()
93 CreateFlag<int32_t>("num_threads", &params_, "number of threads"), in GetFlags()
94 CreateFlag<bool>( in GetFlags()
99 CreateFlag<std::string>("benchmark_name", &params_, "benchmark name"), in GetFlags()
100 CreateFlag<std::string>("output_prefix", &params_, in GetFlags()
102 CreateFlag<int32_t>( in GetFlags()
[all …]
Dbenchmark_tflite_model.cc288 CreateFlag<std::string>("graph", &params_, "graph file name"), in GetFlags()
289 CreateFlag<std::string>("input_layer", &params_, "input layer names"), in GetFlags()
290 CreateFlag<std::string>("input_layer_shape", &params_, in GetFlags()
292 CreateFlag<std::string>( in GetFlags()
298 CreateFlag<std::string>( in GetFlags()
308 CreateFlag<bool>("allow_fp16", &params_, "allow fp16"), in GetFlags()
309 CreateFlag<bool>("require_full_delegation", &params_, in GetFlags()
311 CreateFlag<bool>("enable_op_profiling", &params_, "enable op profiling"), in GetFlags()
312 CreateFlag<int32_t>("max_profiling_buffer_entries", &params_, in GetFlags()
314 CreateFlag<std::string>( in GetFlags()
Dbenchmark_performance_options.cc139 CreateFlag<std::string>( in GetFlags()
145 CreateFlag<float>("option_benchmark_run_delay", &params_, in GetFlags()
148 CreateFlag<bool>( in GetFlags()
Dbenchmark_test.cc427 tflite::Flag::CreateFlag("fp32_graph", &fp32_model_path, in main()
429 tflite::Flag::CreateFlag("int8_graph", &int8_model_path, in main()
431 tflite::Flag::CreateFlag("string_graph", &string_model_path, in main()
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/
Drun_eval.cc76 tflite::Flag::CreateFlag(kModelFileFlag, &model_file_path_, in GetFlags()
78 tflite::Flag::CreateFlag( in GetFlags()
84 tflite::Flag::CreateFlag( in GetFlags()
88 tflite::Flag::CreateFlag( in GetFlags()
92 tflite::Flag::CreateFlag( in GetFlags()
97 tflite::Flag::CreateFlag(kOutputFilePathFlag, &output_file_path_, in GetFlags()
99 tflite::Flag::CreateFlag(kNumImagesFlag, &num_images_, in GetFlags()
102 tflite::Flag::CreateFlag( in GetFlags()
105 tflite::Flag::CreateFlag( in GetFlags()
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/coco_object_detection/
Drun_eval.cc74 tflite::Flag::CreateFlag(kModelFileFlag, &model_file_path_, in GetFlags()
76 tflite::Flag::CreateFlag( in GetFlags()
82 tflite::Flag::CreateFlag( in GetFlags()
86 tflite::Flag::CreateFlag(kGroundTruthProtoFileFlag, in GetFlags()
92 tflite::Flag::CreateFlag( in GetFlags()
96 tflite::Flag::CreateFlag(kDebugModeFlag, &debug_mode_, in GetFlags()
100 tflite::Flag::CreateFlag( in GetFlags()
103 tflite::Flag::CreateFlag( in GetFlags()
/external/tensorflow/tensorflow/lite/tools/delegates/
Dnnapi_delegate_provider.cc53 CreateFlag<bool>("use_nnapi", params, "use nnapi delegate api"), in CreateFlags()
54 CreateFlag<std::string>("nnapi_execution_preference", params, in CreateFlags()
58 CreateFlag<std::string>("nnapi_execution_priority", params, in CreateFlags()
62 CreateFlag<std::string>( in CreateFlags()
65 CreateFlag<bool>("disable_nnapi_cpu", params, in CreateFlags()
67 CreateFlag<bool>("nnapi_allow_fp16", params, in CreateFlags()
Dgpu_delegate_provider.cc64 CreateFlag<bool>("use_gpu", params, "use gpu"), in CreateFlags()
66 CreateFlag<bool>("gpu_precision_loss_allowed", params, in CreateFlags()
69 CreateFlag<bool>("gpu_experimental_enable_quant", params, in CreateFlags()
74 CreateFlag<std::string>( in CreateFlags()
80 CreateFlag<std::string>( in CreateFlags()
Ddefault_execution_provider.cc45 CreateFlag<int32_t>("num_threads", params, in CreateFlags()
47 CreateFlag<int32_t>("max_delegated_partitions", params, in CreateFlags()
49 CreateFlag<int32_t>( in CreateFlags()
Dhexagon_delegate_provider.cc58 CreateFlag<bool>("use_hexagon", params, "Use Hexagon delegate"), in CreateFlags()
59 CreateFlag<std::string>( in CreateFlags()
62 CreateFlag<bool>("hexagon_profiling", params, in CreateFlags()
Dcoreml_delegate_provider.cc53 CreateFlag<bool>("use_coreml", params, "use Core ML"), in CreateFlags()
54 CreateFlag<int>("coreml_version", params, in CreateFlags()
Dexternal_delegate_provider.cc61 CreateFlag<std::string>("external_delegate_path", params, in CreateFlags()
63 CreateFlag<std::string>( in CreateFlags()
Dxnnpack_delegate_provider.cc42 CreateFlag<bool>("use_xnnpack", params, "use XNNPack")}; in CreateFlags()
Ddelegate_provider.h58 Flag CreateFlag(const char* name, ToolParams* params, in CreateFlag() function
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/inference_diff/
Drun_eval.cc60 tflite::Flag::CreateFlag(kModelFileFlag, &model_file_path_, in GetFlags()
62 tflite::Flag::CreateFlag(kOutputFilePathFlag, &output_file_path_, in GetFlags()
64 tflite::Flag::CreateFlag(kNumRunsFlag, &num_runs_, in GetFlags()
67 tflite::Flag::CreateFlag( in GetFlags()
70 tflite::Flag::CreateFlag( in GetFlags()
/external/tensorflow/tensorflow/lite/delegates/utils/dummy_delegate/
Dexternal_delegate_adaptor.cc54 tflite::Flag::CreateFlag(kAllowedBuiltinOp, &options.allowed_builtin_code, in CreateDummyDelegateFromOptions()
56 tflite::Flag::CreateFlag(kReportErrorDuingInit, in CreateDummyDelegateFromOptions()
59 tflite::Flag::CreateFlag(kReportErrorDuingPrepare, in CreateDummyDelegateFromOptions()
62 tflite::Flag::CreateFlag(kReportErrorDuingInvoke, in CreateDummyDelegateFromOptions()
Ddummy_delegate_provider.cc41 std::vector<Flag> flags = {CreateFlag<bool>("use_dummy_delegate", params, in CreateFlags()
/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/
Djson_to_fb.cc35 tflite::Flag::CreateFlag("json_input", &json_path, in main()
37 tflite::Flag::CreateFlag("fbs", &fbs_path, in main()
39 tflite::Flag::CreateFlag("fb_output", &fb_path, in main()
/external/perfetto/src/profiling/memory/
Dshared_ring_buffer.h210 struct CreateFlag {}; struct
214 SharedRingBuffer(CreateFlag, size_t size);
Dshared_ring_buffer.cc55 SharedRingBuffer::SharedRingBuffer(CreateFlag, size_t size) { in SharedRingBuffer() argument
326 auto buf = SharedRingBuffer(CreateFlag(), size); in Create()
/external/tflite-support/tensorflow_lite_support/custom_ops/
Dtflite_inference_main.cc96 std::vector<tflite::Flag> flag_list{tflite::Flag::CreateFlag( in main()

12