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.py499 input_dict = {}
506 input_dict[match.group(1)] = match.group(2), match.group(3)
511 input_dict[match.group(1)] = match.group(2), None
518 return input_dict
538 input_dict = {}
546 input_dict[input_key] = eval(expr) # pylint: disable=eval-used
547 return input_dict
570 input_dict = preprocess_input_exprs_arg_string(input_examples_str)
571 for input_key, example_list in input_dict.items():
576 input_dict[input_key] = [
[all …]
Dsaved_model_cli_test.py381 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
384 self.assertTrue(input_dict['input1'] == ('/path/file.txt', 'ab3'))
385 self.assertTrue(input_dict['input2'] == ('file2', None))
389 self.assertTrue(len(input_dict) == 2)
394 input_dict = saved_model_cli.preprocess_input_examples_arg_string(
396 feature = example_pb2.Example.FromString(input_dict['inputs'][0])
422 input_dict = saved_model_cli.preprocess_inputs_arg_string(input_str)
423 self.assertTrue(input_dict['inputx'] == (r'C:\Program Files\data.npz',
425 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.py266 input_dict = dict(gs_util=_GSUTIL_BIN, dump_file=dump_file,
268 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.py186 input_dict = {'input_1': input_a_np, 'input_2': input_b_np}
193 (input_dict, output_dict))
200 predict_dataset_dict = dataset_ops.Dataset.from_tensor_slices(input_dict)
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils.py1077 def check_for_unexpected_keys(name, input_dict, expected_values): argument
1078 unknown = set(input_dict.keys()).difference(expected_values)
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistribute_strategy_test.py838 input_dict = {
849 model_with_ds_strategy.predict(input_dict, batch_size=18, steps=12),
850 cpu_model.predict(input_dict),
1492 input_dict = {
1497 dataset = dataset_ops.Dataset.from_tensor_slices(input_dict)
1522 input_dict = {
1527 dataset = dataset_ops.Dataset.from_tensor_slices((input_dict, target))