Home
last modified time | relevance | path

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

/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/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py215 input_str = 'input1=/path/file.txt[ab3];input2=file2'
217 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
229 input_str = (r'inputx=C:\Program Files\data.npz[v:0];'
231 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
237 input_str = 'inputx=file[[v1]v2'
239 saved_model_cli.preprocess_inputs_arg_string(input_str)
240 input_str = 'inputx:file'
242 saved_model_cli.preprocess_inputs_arg_string(input_str)
243 input_str = 'inputx:np.zeros((5))'
245 saved_model_cli.preprocess_input_exprs_arg_string(input_str)
[all …]
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_from_protos.py31 input_str = open(FLAGS.model_input_file, "rb").read()
33 output_str = tensorflow_wrap_toco.TocoConvert(model_str, toco_str, input_str)
/external/toolchain-utils/
Dtest_gcc_dejagnu.py100 def GetNumNewFailures(input_str): argument
101 if not input_str:
105 for l in input_str.splitlines():
/external/antlr/runtime/Python3/antlr3/
Dmain.py77 input_str = input(">>> ")
82 inStream = ANTLRStringStream(input_str)
/external/toolchain-utils/crosperf/
Dsuite_runner_unittest.py78 input_str = ('--profiler=custom_perf --profiler_args=\'perf_options'
82 res = suite_runner.GetProfilerArgs(input_str)
/external/tensorflow/tensorflow/python/client/
Dtf_session.i234 const string& input_str = $1[i]; variable
235 PyList_SET_ITEM($result, i, PyBytes_FromStringAndSize(input_str.data(),
236 input_str.size()));
/external/libtextclassifier/utils/intents/
Dintent-generator.cc314 ScopedLocalRef<jstring> input_str = jni_cache_->ConvertToJavaString(input); in HandleUrlEncode() local
315 if (jni_cache_->ExceptionCheckAndClear() || input_str == nullptr) { in HandleUrlEncode()
323 input_str.get(), jni_cache_->string_utf8.get()))); in HandleUrlEncode()
/external/mesa3d/src/compiler/glsl/tests/lower_jumps/
Dcreate_test_cases.py294 input_str = sexp_to_string(sort_decls(input_sexp))
307 f.write('{0}\nEOF\n'.format(input_str))
/external/python/cpython2/Modules/
D_json.c275 char *input_str; in ascii_escape_str() local
278 input_str = PyString_AS_STRING(pystr); in ascii_escape_str()
282 Py_UNICODE c = (Py_UNICODE)(unsigned char)input_str[i]; in ascii_escape_str()
287 c = (Py_UNICODE)(unsigned char)input_str[j]; in ascii_escape_str()
291 uni = PyUnicode_DecodeUTF8(input_str, input_chars, "strict"); in ascii_escape_str()
329 memcpy(&output[1], input_str, i); in ascii_escape_str()
332 Py_UNICODE c = (Py_UNICODE)(unsigned char)input_str[i]; in ascii_escape_str()
/external/tensorflow/tensorflow/contrib/eager/python/examples/workshop/
D3_inspecting.ipynb145 "def encode(input_str, output_str=None):\n",
147 " inputs = encoders[\"inputs\"].encode(input_str) + [1] # add EOS id\n",
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc2331 tensorflow::Safe_PyObjectPtr input_str(PyObject_Str(input)); local
2336 TFE_GetPythonString(input_str.get()), " Requested dtype: ",