Home
last modified time | relevance | path

Searched refs:flag_list (Results 1 – 25 of 75) sorted by relevance

123

/external/tensorflow/tensorflow/compiler/jit/
Dflags.cc30 std::vector<Flag>* flag_list; variable
33 void AppendMarkForCompilationPassFlagsInternal(std::vector<Flag>* flag_list) { in AppendMarkForCompilationPassFlagsInternal() argument
67 flag_list->insert(flag_list->end(), new_flags.begin(), new_flags.end()); in AppendMarkForCompilationPassFlagsInternal()
93 flag_list = new std::vector<Flag>({ in AllocateAndParseFlags()
104 AppendMarkForCompilationPassFlagsInternal(flag_list); in AllocateAndParseFlags()
105 xla::ParseFlagsFromEnvAndDieIfUnknown("TF_XLA_FLAGS", *flag_list); in AllocateAndParseFlags()
130 void AppendMarkForCompilationPassFlags(std::vector<Flag>* flag_list) { in AppendMarkForCompilationPassFlags() argument
132 AppendMarkForCompilationPassFlagsInternal(flag_list); in AppendMarkForCompilationPassFlags()
Dcompilation_passes_test_main.cc26 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/xla/
Dparse_flags_from_env_test.cc48 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/compiler/xla/tests/
Dxla_internal_test_main.cc24 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/autotest/client/common_lib/cros/tendo/
Dpeerd_config.py72 flag_list = []
74 flag_list.append('PEERD_LOG_LEVEL=%d' % self.verbosity_level)
76 flag_list.append('PEERD_INITIAL_MDNS_PREFIX=%s' % self.mdns_prefix)
78 run('start peerd %s' % ' '.join(flag_list))
/external/tensorflow/tensorflow/compiler/aot/
Dtfcompile_main.cc133 std::vector<tensorflow::Flag> flag_list; in main() local
134 AppendMainFlags(&flag_list, &flags); in main()
135 xla::AppendDebugOptionsFlags(&flag_list); in main()
138 usage += tensorflow::Flags::Usage(argv[0], flag_list); in main()
143 bool parsed_flags_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
Dflags.cc21 void AppendMainFlags(std::vector<Flag>* flag_list, MainFlags* flags) { in AppendMainFlags() argument
76 flag_list->insert(flag_list->end(), tmp.begin(), tmp.end()); in AppendMainFlags()
/external/tensorflow/tensorflow/core/api_def/
Dupdate_api_def_main.cc38 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/contrib/util/
Dconvert_graphdef_memmapped_format.cc45 std::vector<Flag> flag_list = { in ParseFlagsAndConvertGraph() local
52 string usage = Flags::Usage(argv[0], flag_list); in ParseFlagsAndConvertGraph()
53 const bool parse_result = Flags::Parse(&argc, argv, flag_list); in ParseFlagsAndConvertGraph()
/external/tensorflow/tensorflow/tools/mlpbtxt/
Dfrommlpbtxt.cc32 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()
Dtomlpbtxt.cc33 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/examples/wav_to_spectrogram/
Dmain.cc33 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/java/src/gen/cc/
Dop_gen_main.cc56 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/lite/tools/benchmark/
Dcommand_line_flags.cc146 const std::vector<Flag>& flag_list) { in Parse() argument
159 for (const Flag& flag : flag_list) { in Parse()
183 const std::vector<Flag>& flag_list) { in Usage() argument
186 if (!flag_list.empty()) { in Usage()
190 for (const Flag& flag : flag_list) { in Usage()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/testutil/
Drandom_tree_gen_main.cc38 std::vector<Flag> flag_list = { in main() local
45 string usage = Flags::Usage(argv[0], flag_list); in main()
46 const bool parse_result = Flags::Parse(&argc, argv, flag_list); in main()
/external/tensorflow/tensorflow/compiler/xla/rpc/
Dgrpc_service_main.cc35 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/xla/tools/
Dhex_floats_to_packed_literal.cc37 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()
Dhlo_proto_to_json.cc78 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()
Ddumped_computation_to_text.cc92 std::vector<tensorflow::Flag> flag_list = { in main() local
97 const xla::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main()
98 bool parsed_flags_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_supported_ops.cc75 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/contrib/tpu/profiler/
Dcapture_tpu_profile.cc35 std::vector<tensorflow::Flag> flag_list = { in main() local
64 tensorflow::string usage = tensorflow::Flags::Usage(argv[0], flag_list); in main()
65 bool parse_ok = tensorflow::Flags::Parse(&argc, argv, flag_list); in main()
/external/tensorflow/tensorflow/lite/testing/kernel_test/
Dgenerate_diff_report.cc23 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/
Dgrpc_testlib_server.cc85 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()
/external/bcc/tools/
Dmountsnoop.py269 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/core/summary/
Dloader.cc54 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()

123