/external/tensorflow/tensorflow/lite/tools/ |
D | command_line_flags.cc | 166 const std::vector<Flag>& flag_list) { in Parse() argument 170 std::vector<int> sorted_idx(flag_list.size()); in Parse() 172 std::sort(sorted_idx.begin(), sorted_idx.end(), [&flag_list](int a, int b) { in Parse() 173 return flag_list[a].GetFlagType() < flag_list[b].GetFlagType(); in Parse() 178 const Flag& flag = flag_list[sorted_idx[i]]; in Parse() 232 const std::vector<Flag>& flag_list) { in Usage() argument 234 std::vector<int> sorted_idx(flag_list.size()); in Usage() 236 std::sort(sorted_idx.begin(), sorted_idx.end(), [&flag_list](int a, int b) { in Usage() 237 return flag_list[a].GetFlagType() < flag_list[b].GetFlagType(); in Usage() 245 const Flag& flag = flag_list[sorted_idx[i]]; in Usage() [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | flags.cc | 37 std::vector<Flag>* flag_list; variable 75 void AppendMarkForCompilationPassFlagsInternal(std::vector<Flag>* flag_list) { in AppendMarkForCompilationPassFlagsInternal() argument 132 flag_list->insert(flag_list->end(), new_flags.begin(), new_flags.end()); in AppendMarkForCompilationPassFlagsInternal() 174 flag_list = new std::vector<Flag>( in AllocateAndParseFlags() 212 AppendMarkForCompilationPassFlagsInternal(flag_list); in AllocateAndParseFlags() 213 xla::ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", *flag_list); in AllocateAndParseFlags() 249 void AppendMarkForCompilationPassFlags(std::vector<Flag>* flag_list) { in AppendMarkForCompilationPassFlags() argument 251 AppendMarkForCompilationPassFlagsInternal(flag_list); in AppendMarkForCompilationPassFlags()
|
D | compilation_passes_test_main.cc | 26 std::vector<tensorflow::Flag> flag_list; in main() local 27 tensorflow::AppendMarkForCompilationPassFlags(&flag_list); in main() 28 auto usage = tensorflow::Flags::Usage(real_argv[0], flag_list); in main() 51 if (!tensorflow::Flags::Parse(&argc, &args.front(), flag_list)) { in main()
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | tfcompile_main.cc | 69 std::vector<tensorflow::Flag> flag_list; in main() local 70 AppendMainFlags(&flag_list, &flags); in main() 71 xla::AppendDebugOptionsFlags(&flag_list); in main() 74 usage += tensorflow::Flags::Usage(argv[0], flag_list); in main() 79 bool parsed_flags_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
D | flags.cc | 21 void AppendMainFlags(std::vector<Flag>* flag_list, MainFlags* flags) { in AppendMainFlags() argument 78 flag_list->insert(flag_list->end(), tmp.begin(), tmp.end()); in AppendMainFlags()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | xla_internal_test_main.cc | 24 std::vector<tensorflow::Flag> flag_list; in main() local 25 xla::AppendDebugOptionsFlags(&flag_list); in main() 26 auto usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 27 if (!tensorflow::Flags::Parse(&argc, argv, flag_list)) { in main()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | parse_flags_from_env_test.cc | 48 std::vector<tensorflow::Flag> flag_list = { in TestParseFlagsFromEnv() local 55 bool parsed_ok = ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", flag_list); in TestParseFlagsFromEnv() 155 const std::vector<tensorflow::Flag> flag_list = { in main() local 160 xla::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 162 xla::ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", flag_list); in main() 166 parse_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/core/api_def/ |
D | update_api_def_main.cc | 38 std::vector<tensorflow::Flag> flag_list = { in main() local 45 std::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 46 bool parsed_values_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/compiler/xla/tools/ |
D | run_hlo_module_main.cc | 73 std::vector<tensorflow::Flag> flag_list = { in main() local 129 xla::AppendDebugOptionsFlags(&flag_list); in main() 133 kUsage, "\n\n", tensorflow::Flags::Usage(argv[0], flag_list)); in main() 134 bool parse_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
D | hex_floats_to_packed_literal.cc | 37 const std::vector<tensorflow::Flag> flag_list = { in main() local 41 string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 42 bool parse_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
D | hlo_proto_to_json.cc | 78 const std::vector<tensorflow::Flag> flag_list = { in main() local 82 const string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 83 bool parse_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
D | dumped_computation_to_text.cc | 93 std::vector<tensorflow::Flag> flag_list = { in main() local 98 const xla::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 99 bool parsed_flags_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
D | main.cc | 33 std::vector<tensorflow::Flag> flag_list = { in main() local 44 tensorflow::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 45 const bool parse_result = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/tools/mlpbtxt/ |
D | frommlpbtxt.cc | 32 std::vector<Flag> flag_list = { in Run() local 37 const string usage = Flags::Usage(argv[0], flag_list); in Run() 38 const bool parse_ok = Flags::Parse(&argc, argv, flag_list); in Run()
|
D | tomlpbtxt.cc | 33 std::vector<Flag> flag_list = { in Run() local 40 const string usage = Flags::Usage(argv[0], flag_list); in Run() 41 const bool parse_ok = Flags::Parse(&argc, argv, flag_list); in Run()
|
/external/tensorflow/tensorflow/java/src/gen/cc/ |
D | op_gen_main.cc | 56 std::vector<tensorflow::Flag> flag_list = { in main() local 66 usage += tensorflow::Flags::Usage(argv[0], flag_list); in main() 67 bool parsed_flags_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/compiler/xla/rpc/ |
D | grpc_service_main.cc | 35 std::vector<tensorflow::Flag> flag_list = { in RealMain() local 43 string usage = tensorflow::Flags::Usage(argv[0], flag_list); in RealMain() 44 bool parsed_values_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in RealMain()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_supported_ops.cc | 75 std::vector<Flag> flag_list = { in SupportedOpsMain() local 81 string usage = Flags::Usage(argv[0], flag_list); in SupportedOpsMain() 82 bool parsed_flags_ok = Flags::Parse(&argc, argv, flag_list); in SupportedOpsMain()
|
/external/tensorflow/tensorflow/lite/testing/kernel_test/ |
D | generate_diff_report.cc | 23 std::vector<tensorflow::Flag> flag_list = { in main() local 28 tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_testlib_server.cc | 85 std::vector<tensorflow::Flag> flag_list = { in main() local 92 tensorflow::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 93 const bool parse_result = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
D | grpc_tensorflow_server.cc | 102 std::vector<tensorflow::Flag> flag_list = { in main() local 107 tensorflow::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 108 const bool parse_result = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/core/summary/ |
D | loader.cc | 54 std::vector<Flag> flag_list = { in main() local 61 string usage = Flags::Usage(argv[0], flag_list); in main() 62 bool parse_result = Flags::Parse(&argc, argv, flag_list); in main()
|
/external/bcc/tools/ |
D | mountsnoop.py | 269 def _decode_flags(flags, flag_list): argument 271 for flag, bit in flag_list: 280 def decode_flags(flags, flag_list): argument 281 return '|'.join(_decode_flags(flags, flag_list))
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
D | imagenet_accuracy_eval_main.cc | 28 std::vector<tflite::Flag> flag_list = { in main() local 37 tflite::Flags::Parse(&argc, const_cast<const char**>(argv), flag_list); in main()
|
/external/tensorflow/tensorflow/tools/optimization/ |
D | gpu_optimization_pass_runner_main.cc | 36 const std::vector<Flag> flag_list = { in RealMain() local 44 if (!Flags::Parse(&argc, argv, flag_list)) { in RealMain()
|