Home
last modified time | relevance | path

Searched refs:input_str (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dsplit_utils.cc51 bool IsFunctionArgument(absl::string_view input_str) { in IsFunctionArgument() argument
54 size_t pos = input_str.find(':'); in IsFunctionArgument()
56 absl::ascii_isdigit(input_str[pos + 1]); in IsFunctionArgument()
111 Status RewriteInput(absl::string_view input_str, string* new_input_str);
119 Status RewriteControlInput(absl::string_view input_str,
124 Status RewriteArgumentInput(absl::string_view input_str,
129 Status RewriteNodeInput(absl::string_view input_str, string* new_input_str);
136 Status RewriteCrossFunctionInput(absl::string_view input_str,
176 Status InputRewriter::RewriteInput(absl::string_view input_str, in RewriteInput() argument
178 auto iter = input_map_.find(input_str); in RewriteInput()
[all …]
/external/autotest/site_utils/tester_feedback/
Dinput_handlers.py41 def process(self, input_str): argument
66 def process(self, input_str): argument
95 def process(self, input_str): argument
96 input_str = input_str.lower().strip()
97 if input_str == 'y':
99 if input_str == 'n':
101 if not input_str and self._default is not None:
134 def process(self, input_str): argument
136 input_str = input_str or self._default
137 if input_str:
[all …]
/external/protobuf/objectivec/DevTools/
Dpddm_tests.py118 for idx, (input_str, expected_prefix) in enumerate(test_list, 1):
119 f = io.StringIO(input_str)
173 for idx, (input_str, expected_prefix) in enumerate(test_list, 1):
174 f = io.StringIO(input_str)
223 for idx, (input_str, expected) in enumerate(test_list, 1):
224 result = mc.Expand(input_str)
267 for idx, (input_str, expected_err) in enumerate(test_list, 1):
269 result = mc.Expand(input_str)
350 for idx, (input_str, line_counts) in enumerate(test_list, 1):
351 f = io.StringIO(input_str)
[all …]
/external/cronet/third_party/protobuf/objectivec/DevTools/
Dpddm_tests.py118 for idx, (input_str, expected_prefix) in enumerate(test_list, 1):
119 f = io.StringIO(input_str)
173 for idx, (input_str, expected_prefix) in enumerate(test_list, 1):
174 f = io.StringIO(input_str)
223 for idx, (input_str, expected) in enumerate(test_list, 1):
224 result = mc.Expand(input_str)
267 for idx, (input_str, expected_err) in enumerate(test_list, 1):
269 result = mc.Expand(input_str)
350 for idx, (input_str, line_counts) in enumerate(test_list, 1):
351 f = io.StringIO(input_str)
[all …]
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py381 input_str = 'input1=/path/file.txt[ab3];input2=file2'
383 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
427 input_str = (r'inputx=C:\Program Files\data.npz[v:0];'
429 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
435 input_str = 'inputx=file[[v1]v2'
437 saved_model_cli.preprocess_inputs_arg_string(input_str)
438 input_str = 'inputx:file'
440 saved_model_cli.preprocess_inputs_arg_string(input_str)
441 input_str = 'inputx:np.zeros((5))'
443 saved_model_cli.preprocess_input_exprs_arg_string(input_str, safe=False)
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_chachapoly.function11 void mbedtls_chachapoly_enc( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str
26 input_str->len, nonce_str->x,
28 input_str->x, output, mac ) == 0 );
39 void mbedtls_chachapoly_dec( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str
54 input_str->len, nonce_str->x,
56 mac_str->x, input_str->x, output );
/external/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
Dspvtools_dis_fuzzer.cpp44 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
46 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
47 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzzers/
Dspvtools_dis_fuzzer.cpp44 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
46 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
47 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
/external/deqp-deps/SPIRV-Tools/test/fuzzers/
Dspvtools_dis_fuzzer.cpp44 std::vector<char> input_str; in LLVMFuzzerTestOneInput() local
46 input_str.resize(char_count); in LLVMFuzzerTestOneInput()
47 memcpy(input_str.data(), input.data(), input.size() * sizeof(uint32_t)); in LLVMFuzzerTestOneInput()
/external/rust/crates/uuid/src/
Derror.rs51 let input_str = match std::str::from_utf8(self.0) { in into_err() localVariable
56 let (uuid_str, offset, simple) = match input_str.as_bytes() { in into_err()
99 len: input_str.len(), in into_err()
123 len: input_str.len() - BLOCK_STARTS[4], in into_err()
/external/tensorflow/tensorflow/core/util/
Deinsum_op_util.cc89 gtl::InlinedVector<string, 2> input_str; in ParseEinsumEquation() local
91 TF_RETURN_IF_ERROR(ValidateEinsumEquation(equation, &input_str, &output_str)); in ParseEinsumEquation()
95 int num_inputs = input_str.size(); in ParseEinsumEquation()
100 MapToLabels(input_str[i], &input_labels->at(i), &label_mapping); in ParseEinsumEquation()
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_chachapoly.function11 void mbedtls_chachapoly_enc( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str
26 input_str->len, nonce_str->x,
28 input_str->x, output, mac ) == 0 );
39 void mbedtls_chachapoly_dec( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str
54 input_str->len, nonce_str->x,
56 mac_str->x, input_str->x, output );
/external/tensorflow/tensorflow/lite/kernels/shim/test_op/
Dsimple_op.h90 const auto input_str = input_t->template AsScalar<::tensorflow::tstring>(); in Invoke() local
103 const int output2_size = input_str.length() + 1; in Invoke()
145 const auto input_str = in ShapeInference() local
147 output2_shape = Shape({static_cast<int>(input_str.length() + 1)}); in ShapeInference()
/external/cronet/url/
Durl_canon_icu_unittest.cc71 std::u16string input_str( in TEST() local
73 int input_len = static_cast<int>(input_str.length()); in TEST()
74 converter.ConvertFromUTF16(input_str.c_str(), input_len, &output); in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dtensor_to_hash_bucket_op.h58 string input_str = strings::Printf(format.c_str(), input[i]); in operator() local
59 const uint64 input_hash = Fingerprint64(input_str); in operator()
/external/tensorflow/third_party/llvm_openmp/
Dexpand_cmake_vars.py36 def _expand_variables(input_str, cmake_vars): argument
50 return _CMAKE_ATVAR_REGEX.sub(replace,_CMAKE_VAR_REGEX.sub(replace, input_str))
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos.py37 input_str = input_file.read()
49 input_str,
/external/cronet/build/
Dlocale_tool.py276 input_str = ', '.join(input_list)
277 while len(input_str) > available_width:
278 pos = input_str.rfind(',', 0, available_width)
279 result.append(input_str[:pos + 1])
280 input_str = input_str[pos + 1:].lstrip()
281 if trailing_comma and input_str:
282 input_str += ','
283 result.append(input_str)
/external/angle/build/
Dlocale_tool.py276 input_str = ', '.join(input_list)
277 while len(input_str) > available_width:
278 pos = input_str.rfind(',', 0, available_width)
279 result.append(input_str[:pos + 1])
280 input_str = input_str[pos + 1:].lstrip()
281 if trailing_comma and input_str:
282 input_str += ','
283 result.append(input_str)
/external/bcc/tools/
Dsslsniff.py41 def ssllib_type(input_str): argument
45 lib_type, lib_path = input_str.split(':', 1)
47 raise argparse.ArgumentTypeError("Invalid SSL library param: %r" % input_str)
/external/antlr/runtime/Python3/antlr3/
Dmain.py77 input_str = input(">>> ")
82 inStream = ANTLRStringStream(input_str)
/external/tensorflow/tensorflow/python/ops/
Dspecial_math_ops_test.py834 for input_str in inputs.split(','):
835 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
885 for input_str in inputs.split(','):
886 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
1052 for input_str in inputs.split(','):
1053 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
1068 for input_str in inputs.split(','):
1069 input_shapes.append(tuple([dimension_map[c] for c in input_str]))
/external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/
Dcrypto_utils.cc128 const absl::string_view input_str) { in StringToBignum() argument
130 if (!BN_bin2bn(reinterpret_cast<const uint8_t*>(input_str.data()), in StringToBignum()
131 input_str.size(), output.get())) { in StringToBignum()
/external/toolchain-utils/crosperf/
Dsuite_runner_unittest.py98 input_str = (
106 res = suite_runner.GetProfilerArgs(input_str)
/external/mesa3d/src/compiler/glsl/tests/
Dlower_jump_cases.py282 input_str = sexp_to_string(sort_decls(input_sexp))
289 return (test_name, optimization, input_str, expected_output)

12