Home
last modified time | relevance | path

Searched refs:valid_options (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_performance_options.cc180 const auto valid_options = GetValidPerfOptions(); in ParsePerfOptions() local
183 if (std::find(valid_options.begin(), valid_options.end(), option) == in ParsePerfOptions()
184 valid_options.end()) { in ParsePerfOptions()
191 for (int i = 0; i < valid_options.size() - 1; ++i) { in ParsePerfOptions()
192 valid_options_str += (valid_options[i] + ", "); in ParsePerfOptions()
194 valid_options_str += valid_options.back(); in ParsePerfOptions()
214 std::vector<std::string> valid_options = {"all", "cpu", "gpu", "nnapi", in GetValidPerfOptions() local
217 valid_options.emplace_back("dsp"); in GetValidPerfOptions()
219 return valid_options; in GetValidPerfOptions()
/external/tensorflow/tensorflow/core/profiler/
Dtfprof_options.cc68 std::set<string> valid_options; in ParseOutput() local
71 valid_options.insert( in ParseOutput()
79 valid_options.insert(kFileOpts, in ParseOutput()
85 valid_options.insert(kPprofOpts, in ParseOutput()
101 if (valid_options.find(kv[0]) == valid_options.end()) { in ParseOutput()
/external/autotest/client/common_lib/cros/
Dtextfsm.py120 valid_options = []
124 valid_options.append(obj_name)
125 return valid_options
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dcredentials_test.cc877 grpc_sts_credentials_options valid_options = { in test_valid_sts_creds_options() local
889 grpc_core::ValidateStsCredentialsOptions(&valid_options); in test_valid_sts_creds_options()
1072 grpc_sts_credentials_options valid_options = { in test_sts_creds_success() local
1084 grpc_sts_credentials_create(&valid_options, nullptr); in test_sts_creds_success()
1117 grpc_sts_credentials_options valid_options = { in test_sts_creds_token_file_not_found() local
1129 grpc_sts_credentials_create(&valid_options, nullptr); in test_sts_creds_token_file_not_found()
1158 grpc_sts_credentials_options valid_options = { in test_sts_creds_no_actor_token_success() local
1170 grpc_sts_credentials_create(&valid_options, nullptr); in test_sts_creds_no_actor_token_success()
1245 grpc_sts_credentials_options valid_options = { in test_sts_creds_http_failure() local
1257 grpc_sts_credentials_create(&valid_options, nullptr); in test_sts_creds_http_failure()
/external/fonttools/Tests/ttx/
Dttx_test.py409 valid_options = ("raw", "row", "bitwise", "extfile")
410 for option in valid_options: