/external/tensorflow/tensorflow/lite/tools/ |
D | command_line_flags.cc | 167 const std::vector<Flag>& flag_list) { in Parse() argument 176 std::vector<int> sorted_idx(flag_list.size()); in Parse() 178 std::sort(sorted_idx.begin(), sorted_idx.end(), [&flag_list](int a, int b) { in Parse() 179 return flag_list[a].GetFlagType() < flag_list[b].GetFlagType(); in Parse() 184 const Flag& flag = flag_list[sorted_idx[idx]]; in Parse() 272 const std::vector<Flag>& flag_list) { in Usage() argument 274 std::vector<int> sorted_idx(flag_list.size()); in Usage() 276 std::sort(sorted_idx.begin(), sorted_idx.end(), [&flag_list](int a, int b) { in Usage() 277 return flag_list[a].GetFlagType() < flag_list[b].GetFlagType(); in Usage() 285 const Flag& flag = flag_list[sorted_idx[i]]; in Usage() [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | flags.cc | 38 std::vector<Flag>* flag_list; variable 76 void AppendMarkForCompilationPassFlagsInternal(std::vector<Flag>* flag_list) { in AppendMarkForCompilationPassFlagsInternal() argument 133 flag_list->insert(flag_list->end(), new_flags.begin(), new_flags.end()); in AppendMarkForCompilationPassFlagsInternal() 187 flag_list = new std::vector<Flag>( in AllocateAndParseFlags() 239 AppendMarkForCompilationPassFlagsInternal(flag_list); in AllocateAndParseFlags() 240 xla::ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", *flag_list); in AllocateAndParseFlags() 295 void AppendMarkForCompilationPassFlags(std::vector<Flag>* flag_list) { in AppendMarkForCompilationPassFlags() argument 297 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/lite/tools/evaluation/tasks/ |
D | task_executor.cc | 24 auto flag_list = GetFlags(); in Run() local 27 flag_list.insert(flag_list.end(), delegate_flags.begin(), in Run() 30 tflite::Flags::Parse(argc, const_cast<const char**>(argv), flag_list); in Run() 32 std::string usage = Flags::Usage(argv[0], flag_list); in Run()
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | tfcompile_main.cc | 72 std::vector<tensorflow::Flag> flag_list; in main() local 73 AppendMainFlags(&flag_list, &flags); in main() 74 xla::AppendDebugOptionsFlags(&flag_list); in main() 77 usage += tensorflow::Flags::Usage(argv[0], flag_list); in main() 82 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 88 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 | 50 std::vector<tensorflow::Flag> flag_list = { in TestParseFlagsFromEnv() local 57 bool parsed_ok = ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", flag_list); in TestParseFlagsFromEnv() 167 const std::vector<tensorflow::Flag> flag_list = { in main() local 172 xla::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main() 174 xla::ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", flag_list); in main() 178 parse_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/tests/ |
D | hlo_to_llvm_ir.cc | 86 std::vector<tensorflow::Flag> flag_list; in main() local 87 xla::AppendDebugOptionsFlags(&flag_list); in main() 91 kUsage, "\n\n", tensorflow::Flags::Usage(argv[0], flag_list)); in main() 92 bool 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))
|