Home
last modified time | relevance | path

Searched refs:feed_dict (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/external/tensorflow/tensorflow/python/kernel_tests/
Das_string_op_test.py42 result = output.eval(feed_dict={input_: float_inputs_})
47 result = output.eval(feed_dict={input_: float_inputs_})
51 result = output.eval(feed_dict={input_: float_inputs_})
55 result = output.eval(feed_dict={input_: float_inputs_})
59 result = output.eval(feed_dict={input_: float_inputs_})
63 result = output.eval(feed_dict={input_: float_inputs_})
67 result = output.eval(feed_dict={input_: float_inputs_})
72 result = output.eval(feed_dict={input_: float_inputs_})
77 output.eval(feed_dict={input_: float_inputs_})
81 output.eval(feed_dict={input_: float_inputs_})
[all …]
Dconfusion_matrix_test.py266 feed_dict = {
271 label_values, dynamic_labels.eval(feed_dict=feed_dict))
273 prediction_values, dynamic_predictions.eval(feed_dict=feed_dict))
292 feed_dict = {
297 label_values, dynamic_labels.eval(feed_dict=feed_dict))
299 prediction_values, dynamic_predictions.eval(feed_dict=feed_dict))
318 feed_dict = {
323 label_values, dynamic_labels.eval(feed_dict=feed_dict))
325 prediction_values, dynamic_predictions.eval(feed_dict=feed_dict))
345 feed_dict = {
[all …]
Dmap_stage_op_test.py50 sess.run(stage, feed_dict={x: -1, pi: 0})
52 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i})
72 sess.run(stage, feed_dict={x: -1, pi: 0})
74 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i})
100 sess.run(stage, feed_dict={x: -1, pi: 0})
102 _, yval = sess.run([stage, y], feed_dict={x: i, pi: i + 1, gi: i})
151 sess.run(stage, feed_dict={x: i, pi: i})
154 self.assertTrue(sess.run(peek, feed_dict={gi: i})[0] == i)
178 sess.run(stage, feed_dict={x: -1, pi: 3})
180 sess.run(stage, feed_dict={x: -1, pi: 1})
[all …]
Dstage_op_test.py47 sess.run(stage, feed_dict={x: -1})
49 _, yval = sess.run([stage, y], feed_dict={x: i})
67 sess.run(stage, feed_dict={x: -1})
69 _, yval = sess.run([stage, y], feed_dict={x: i})
93 sess.run(stage, feed_dict={x: -1})
95 _, yval = sess.run([stage, y], feed_dict={x: i})
136 sess.run(stage, feed_dict={x: i})
139 self.assertTrue(sess.run(peek, feed_dict={p: i}) == [i])
160 sess.run(stage, feed_dict={x: -1})
162 sess.run(stage, feed_dict={x: -1})
[all …]
Dembedding_ops_test.py147 feed_dict = {}
166 feed_dict[param.name] = val
167 return p, params, feed_dict
175 p, params, feed_dict = _EmbeddingParams(
185 return p, partitioned_variable, params, feed_dict
256 p, params, feed_dict = _EmbeddingParams(num_shards, vocab_size)
263 tf_result = embedding.eval(feed_dict=feed_dict)
298 p, p_variable, params, feed_dict = _EmbeddingParamsAsPartitionedVariable(
310 tf_result = embedding.eval(feed_dict=feed_dict)
348 p, params, feed_dict = _EmbeddingParams(num_shards, vocab_size)
[all …]
Dbias_op_deterministic_test.py133 feed_dict = {upstream_gradients: self._randomNDArray(output_shape)}
134 result_a = bias_gradients.eval(feed_dict=feed_dict)
135 result_b = bias_gradients.eval(feed_dict=feed_dict)
Dstring_to_hash_bucket_op_test.py35 result = output.eval(feed_dict={input_string: ['a', 'b', 'c']})
44 result = output.eval(feed_dict={input_string: ['a', 'b', 'c', 'd']})
57 result = output.eval(feed_dict={input_string: ['a', 'b', 'c']})
66 result = output.eval(feed_dict={input_string: ['a', 'b', 'c']})
Drnn_cell_test.py228 values = sess.run(outputs + [state], feed_dict={inputs[0]: input_value})
265 values = sess.run(outputs + [state], feed_dict={inputs[0]: input_value})
267 dropped_outputs, feed_dict={
295 feed_dict={
301 feed_dict={
406 sess.run(outputs, feed_dict={inputs[0]: input_value})
433 values = sess.run(outputs, feed_dict={inputs[0]: input_value})
468 feed_dict={
502 feed_dict={
561 list(nest.flatten(state)), feed_dict={
[all …]
/external/tensorflow/tensorflow/python/ops/
Dbatch_ops_test.py69 sess.run([batched, index], feed_dict={inp: [1]}))
73 main_results = sess.run([batched, index], feed_dict={inp: [2]})
112 sess.run([batched, index], feed_dict={inp: [1, 3]}))
116 main_results = sess.run([batched, index], feed_dict={inp: [2, 4]})
147 sess.run([batched], feed_dict={inp0: [1],
152 main_results = sess.run([batched], feed_dict={inp0: [2], inp1: [3]})
181 _ = sess.run([batched, index], feed_dict={inp0: [0], inp1: [1, 2]})
203 thread_results.extend(sess.run([result], feed_dict={inp: [1]}))
207 main_results = sess.run([result], feed_dict={inp: [2]})
231 thread_results.extend(sess.run([result], feed_dict={inp: [1]}))
[all …]
Dimage_grad_deterministic_test.py124 feed_dict = {upstream_gradients: self._randomNDArray(output_shape)}
125 result_a = resize_bilinear_gradients.eval(feed_dict=feed_dict)
126 result_b = resize_bilinear_gradients.eval(feed_dict=feed_dict)
/external/tensorflow/tensorflow/python/debug/wrappers/
Dframework.py188 def __init__(self, fetches, feed_dict, run_options, run_metadata, argument
205 self.feed_dict = feed_dict
399 feed_dict=None, argument
433 if callable_runner and (fetches or feed_dict):
437 elif callable_options and (fetches or feed_dict):
470 feed_dict=feed_dict,
476 OnRunStartRequest(fetches, feed_dict, options, run_metadata,
483 run_start_resp, fetches, feed_dict, options, run_metadata,
487 run_start_resp, fetches, feed_dict, options, run_metadata,
502 feed_dict=feed_dict,
[all …]
Dgrpc_wrapper.py33 feed_dict, argument
60 run_key = common.get_run_key(feed_dict, fetches)
122 def prepare_run_debug_urls(self, fetches, feed_dict): argument
214 feed_dict=None, argument
222 self._grpc_debug_server_urls, self.graph, feed_dict, fetches,
226 feed_dict=feed_dict,
Dhooks.py112 run_context.original_args.fetches, run_context.original_args.feed_dict,
120 None, feed_dict=None, options=config_pb2.RunOptions())
200 run_context.original_args.fetches, run_context.original_args.feed_dict)
216 None, feed_dict=None, options=run_options)
286 feed_dict = run_context.original_args.feed_dict
287 watch_options = self._watch_fn(fetches, feed_dict)
293 fetches, feed_dict),
302 None, feed_dict=None, options=run_options)
355 run_context.original_args.feed_dict,
Ddumping_wrapper.py92 def prepare_run_debug_urls(self, fetches, feed_dict): argument
126 feed_keys_event.log_message.message = (repr(feed_dict.keys()) if feed_dict
127 else repr(feed_dict))
/external/tensorflow/tensorflow/compiler/tests/
Dslice_ops_test.py40 result = o.eval(feed_dict=params)
53 result = o.eval(feed_dict=params)
74 result = o.eval(feed_dict=params)
98 result = o.eval(feed_dict=params)
122 result = o.eval(feed_dict=params)
138 result = o.eval(feed_dict=params)
154 result = o.eval(feed_dict=params)
167 result = o.eval(feed_dict=params)
181 result = o.eval(feed_dict=params)
195 result = o.eval(feed_dict=params)
[all …]
Dgather_test.py53 gather_val = session.run(gather_t, feed_dict={params: params_np})
67 gather_val = session.run(gather_t, feed_dict={params: params_np})
83 gather_val = session.run(gather_t, feed_dict={params: params_np})
104 gather_t, feed_dict={
124 gather_value = sess.run(gather, feed_dict={tf_params: params})
137 7, gather.eval(feed_dict={params: [4, 7, 2], indices: 1}))
139 [7], gather.eval(feed_dict={params: [4, 7, 2], indices: [1]}))
141 [[7]], gather.eval(feed_dict={params: [4, 7, 2], indices: [[1]]}))
153 gather_val = session.run(gather_t, feed_dict={params: params_np})
Ddynamic_stitch_test.py44 feed_dict = {}
46 feed_dict[placeholder] = value
48 feed_dict[placeholder] = value
49 result = session.run(output, feed_dict=feed_dict)
/external/tensorflow/tensorflow/python/kernel_tests/v1_compat_tests/
Dsession_ops_test.py47 self.assertEqual(500, sess.run(y, feed_dict={f: h.handle}))
93 result = sess.run(y, feed_dict={f: h.handle})
111 h = sess.run(h_x, feed_dict={f: h.handle})
130 rp, h = sess.run([p, h_x], feed_dict={f: h.handle})
149 self.assertEqual(500, sess.run(y, feed_dict={f: h.handle}))
156 self.assertEqual(100, sess.run(y, feed_dict={f: h.handle}))
181 sess.run(x, feed_dict={f: raw_h})
198 feed_dict={a_p: a_handle.handle,
224 feed_dict={add_h1: one_handle.handle,
244 feed_dict={a_p: a_handle.handle,
[all …]
/external/tensorflow/tensorflow/python/client/
Dsession_partial_run_test.py45 res = sess.partial_run(h, r1, feed_dict={a: 1, b: 2})
48 res = sess.partial_run(h, r2, feed_dict={c: temp})
53 res = sess.partial_run(h2, r1, feed_dict={a: 1, b: 2})
56 res = sess.partial_run(h2, r2, feed_dict={c: temp})
67 res = sess.partial_run(h, r1, feed_dict={a: 1, b: 2})
79 res = sess.partial_run(h1, r1, feed_dict={a: 1, b: 2})
82 res = sess.partial_run(h2, r1, feed_dict={a: temp, b: 9})
84 res = sess.partial_run(h2, r2, feed_dict={c: 7})
99 res = sess.partial_run(h, outputs[i], feed_dict={inputs[i]: 1.0})
102 feed_dict = {}
[all …]
Dsession.py66 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument
74 def partial_run(self, handle, fetches, feed_dict=None): argument
858 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument
967 result = self._run(None, fetches, feed_dict, options_ptr,
979 def partial_run(self, handle, fetches, feed_dict=None): argument
1024 return self._run(handle, fetches, feed_dict, None, None)
1102 def _run(self, handle, fetches, feed_dict, options, run_metadata): argument
1125 if feed_dict:
1126 feed_dict = nest.flatten_dict_items(feed_dict)
1127 for feed, feed_val in feed_dict.items():
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Diterator_test.py432 feed_dict={handle_placeholder: iterator_4_handle}))
436 feed_dict={handle_placeholder: iterator_3_handle}))
440 feed_dict={handle_placeholder: iterator_4_handle}))
444 feed_dict={handle_placeholder: iterator_3_handle}))
448 feed_dict={handle_placeholder: iterator_4_handle}))
452 feed_dict={handle_placeholder: iterator_3_handle}))
456 feed_dict={handle_placeholder: iterator_4_handle}))
459 next_element, feed_dict={handle_placeholder: iterator_3_handle})
462 next_element, feed_dict={handle_placeholder: iterator_4_handle})
491 feed_dict={handle_placeholder: iterator_4_handle}))
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dcli_shared.py281 feed_dict, argument
303 if not feed_dict:
307 for feed_key in feed_dict:
388 feed_dict, argument
420 if not feed_dict:
423 if len(feed_dict) == 1:
424 for key in feed_dict:
429 description += "%d feeds" % len(feed_dict)
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py446 feed_dict = saved_model_cli.load_inputs_from_input_arg_string(
448 self.assertTrue(np.all(feed_dict['x0'] == x0))
449 self.assertTrue(np.all(feed_dict['x1'] == x1))
456 feed_dict = saved_model_cli.load_inputs_from_input_arg_string(
458 self.assertTrue(np.all(feed_dict['x'] == x0))
459 self.assertTrue(np.all(feed_dict['y'] == x0))
476 feed_dict = saved_model_cli.load_inputs_from_input_arg_string(
478 self.assertTrue(np.all(feed_dict['x'] == pkl0['b']))
479 self.assertTrue(np.all(feed_dict['y'] == pkl1))
480 self.assertTrue(np.all(feed_dict['z'] == pkl2))
[all …]
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dnormalization_test.py88 sess.run([loss, train_op], feed_dict={image: image_val})
104 loss_val = sess.run(loss, feed_dict={image: image_val})
335 feed_dict={training: True})
352 np_output = sess.run(outputs, feed_dict={training: False})
376 feed_dict={training: True})
393 np_output = sess.run(outputs, feed_dict={training: False})
418 [outputs] + bn.updates, feed_dict={training: True})
435 np_output = sess.run(outputs, feed_dict={training: False})
459 feed_dict={training: True})
476 np_output = sess.run(outputs, feed_dict={training: False})
[all …]
/external/tensorflow/tensorflow/python/framework/
Dsmart_cond_test.py64 self.assertEqual(y.eval(feed_dict={x: 1}), 1)
65 self.assertEqual(y.eval(feed_dict={x: -1}), 2)
76 self.assertEqual(z.eval(feed_dict={x: 1}), 1)
85 self.assertEqual(y.eval(feed_dict={x: -1}), 2)
141 self.assertEqual(sess.run(z, feed_dict={x: 2}), 1)
142 self.assertEqual(sess.run(z, feed_dict={x: 0}), 3)

12345678910>>...14