Home
last modified time | relevance | path

Searched refs:input_dict (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dgraph_to_function_def.py73 input_dict = {}
75 input_dict = dict(initial_value)
78 input_dict[op.name] = op.name
92 input_dict[op.values()[o].name] = result
94 input_dict[op.name] = result
96 return input_dict
99 def _add_op_node(op, func, input_dict): argument
109 assert node_def.input[i] in input_dict, ("%s missing from %s" %
111 input_dict.items()))
112 node_def.input[i] = input_dict[node_def.input[i]]
[all …]
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py568 input_dict = {
596 input_dict[self.background_data_placeholder_] = background_reshaped
597 input_dict[self.background_volume_placeholder_] = background_volume
600 input_dict[self.foreground_volume_placeholder_] = 0
602 input_dict[self.foreground_volume_placeholder_] = 1
605 [self.merged_summaries_, self.output_], feed_dict=input_dict)
628 input_dict = {
637 data_tensor = sess.run([self.output_], feed_dict=input_dict)
676 input_dict = {wav_filename_placeholder: sample['file']}
678 input_dict[foreground_volume_placeholder] = 0
[all …]
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli.py641 input_dict = {}
648 input_dict[match.group(1)] = match.group(2), match.group(3)
653 input_dict[match.group(1)] = match.group(2), None
660 return input_dict
680 input_dict = {}
688 input_dict[input_key] = eval(expr) # pylint: disable=eval-used
689 return input_dict
712 input_dict = preprocess_input_exprs_arg_string(input_examples_str)
713 for input_key, example_list in input_dict.items():
718 input_dict[input_key] = [
[all …]
Dsaved_model_cli_test.py383 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
386 self.assertTrue(input_dict['input1'] == ('/path/file.txt', 'ab3'))
387 self.assertTrue(input_dict['input2'] == ('file2', None))
391 self.assertTrue(len(input_dict) == 2)
397 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
398 self.assertTrue(input_dict['inputx'] == (r'C:\Program Files\data.npz',
400 self.assertTrue(input_dict['input:0'] == (r'c:\PROGRA~1\data.npy', None))
/external/tensorflow/tensorflow/tools/tensorflow_builder/config_detector/data/
Dcuda_compute_capability.py172 def write_csv_from_dict(filename, input_dict): argument
183 for k, v in six.iteritems(input_dict):
/external/autotest/site_utils/
Dbackup_mysql_db.py263 input_dict = dict(gs_util=_GSUTIL_BIN, dump_file=dump_file,
265 cmd = cmd % input_dict
/external/tensorflow/tensorflow/python/client/
Dtf_session_wrapper.cc413 const py::handle& input_dict, in PYBIND11_MODULE()
420 if (!PyDict_Check(input_dict.ptr())) { in PYBIND11_MODULE()
429 while (PyDict_Next(input_dict.ptr(), &pos, &key, &value)) { in PYBIND11_MODULE()
467 const py::handle& input_dict, in PYBIND11_MODULE()
472 if (!PyDict_Check(input_dict.ptr())) { in PYBIND11_MODULE()
481 while (PyDict_Next(input_dict.ptr(), &pos, &key, &value)) { in PYBIND11_MODULE()
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_dataset_test.py197 input_dict = {'input_1': input_a_np, 'input_2': input_b_np}
204 input_dict, output_dict))
212 input_dict)
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py776 def check_for_unexpected_keys(name, input_dict, expected_values): argument
777 unknown = set(input_dict.keys()).difference(expected_values)
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistribute_strategy_test.py781 input_dict = {
792 model_with_ds_strategy.predict(input_dict, batch_size=18, steps=12),
793 cpu_model.predict(input_dict),
1392 input_dict = {
1397 dataset = dataset_ops.Dataset.from_tensor_slices(input_dict)
1422 input_dict = {
1427 dataset = dataset_ops.Dataset.from_tensor_slices((input_dict, target))