/external/tensorflow/tensorflow/python/kernel_tests/ |
D | confusion_matrix_test.py | 263 feed_dict = { 268 label_values, dynamic_labels.eval(feed_dict=feed_dict)) 270 prediction_values, dynamic_predictions.eval(feed_dict=feed_dict)) 289 feed_dict = { 294 label_values, dynamic_labels.eval(feed_dict=feed_dict)) 296 prediction_values, dynamic_predictions.eval(feed_dict=feed_dict)) 315 feed_dict = { 320 label_values, dynamic_labels.eval(feed_dict=feed_dict)) 322 prediction_values, dynamic_predictions.eval(feed_dict=feed_dict)) 342 feed_dict = { [all …]
|
D | as_string_op_test.py | 42 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 …]
|
D | map_stage_op_test.py | 50 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 …]
|
D | bias_op_deterministic_test.py | 66 def _assert_reproducible(self, operation, feed_dict={}): argument 68 result_a = operation[0].eval(feed_dict=feed_dict) 69 result_b = operation[0].eval(feed_dict=feed_dict) 110 feed_dict = {upstream_gradients: self._random_ndarray(out_shape)} 111 self._assert_reproducible(bias_gradients_op, feed_dict=feed_dict)
|
D | session_ops_test.py | 47 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 …]
|
D | stage_op_test.py | 47 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 …]
|
D | embedding_ops_test.py | 146 feed_dict = {} 165 feed_dict[param.name] = val 166 return p, params, feed_dict 174 p, params, feed_dict = _EmbeddingParams( 184 return p, partitioned_variable, params, feed_dict 255 p, params, feed_dict = _EmbeddingParams(num_shards, vocab_size) 262 tf_result = embedding.eval(feed_dict=feed_dict) 297 p, p_variable, params, feed_dict = _EmbeddingParamsAsPartitionedVariable( 309 tf_result = embedding.eval(feed_dict=feed_dict) 347 p, params, feed_dict = _EmbeddingParams(num_shards, vocab_size) [all …]
|
D | string_to_hash_bucket_op_test.py | 35 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']})
|
/external/tensorflow/tensorflow/python/debug/wrappers/ |
D | framework.py | 188 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 …]
|
D | grpc_wrapper.py | 33 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,
|
D | hooks.py | 112 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,
|
D | dumping_wrapper.py | 92 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/python/ops/ |
D | batch_ops_test.py | 62 sess.run([batched, index], feed_dict={inp: [1]})) 66 main_results = sess.run([batched, index], feed_dict={inp: [2]}) 105 sess.run([batched, index], feed_dict={inp: [1, 3]})) 109 main_results = sess.run([batched, index], feed_dict={inp: [2, 4]}) 140 sess.run([batched], feed_dict={inp0: [1], 145 main_results = sess.run([batched], feed_dict={inp0: [2], inp1: [3]}) 174 _ = sess.run([batched, index], feed_dict={inp0: [0], inp1: [1, 2]}) 196 thread_results.extend(sess.run([result], feed_dict={inp: [1]})) 200 main_results = sess.run([result], feed_dict={inp: [2]}) 224 thread_results.extend(sess.run([result], feed_dict={inp: [1]})) [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | slice_ops_test.py | 40 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 …]
|
D | gather_test.py | 53 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})
|
D | dynamic_stitch_test.py | 44 feed_dict = {} 46 feed_dict[placeholder] = value 48 feed_dict[placeholder] = value 49 result = session.run(output, feed_dict=feed_dict)
|
/external/tensorflow/tensorflow/examples/tutorials/mnist/ |
D | fully_connected_feed.py | 80 feed_dict = { 84 return feed_dict 107 feed_dict = fill_feed_dict(data_set, 110 true_count += sess.run(eval_correct, feed_dict=feed_dict) 168 feed_dict = fill_feed_dict(data_sets.train, 178 feed_dict=feed_dict) 187 summary_str = sess.run(summary, feed_dict=feed_dict)
|
/external/tensorflow/tensorflow/python/client/ |
D | session_partial_run_test.py | 45 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 …]
|
D | session.py | 64 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument 72 def partial_run(self, handle, fetches, feed_dict=None): argument 850 def run(self, fetches, feed_dict=None, options=None, run_metadata=None): argument 959 result = self._run(None, fetches, feed_dict, options_ptr, 971 def partial_run(self, handle, fetches, feed_dict=None): argument 1016 return self._run(handle, fetches, feed_dict, None, None) 1094 def _run(self, handle, fetches, feed_dict, options, run_metadata): argument 1117 if feed_dict: 1118 feed_dict = nest.flatten_dict_items(feed_dict) 1119 for feed, feed_val in feed_dict.items(): [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | auto_control_deps_test.py | 72 self.assertAllEqual(val.eval(feed_dict={p: False}), 5.0) 73 self.assertAllEqual(val.eval(feed_dict={p: True}), 6.0) 94 one.eval(feed_dict={p: False}) 96 one.eval(feed_dict={p: True}) 129 self.assertAllEqual(val.eval(feed_dict={p: False, q: False}), 3.0) 130 self.assertAllEqual(val.eval(feed_dict={p: False, q: True}), 6.0) 131 self.assertAllEqual(val.eval(feed_dict={p: True, q: True}), 7.0) 132 self.assertAllEqual(val.eval(feed_dict={p: True, q: False}), 8.0) 152 self.assertAllEqual(val.eval(feed_dict={p: False}), 5.0) 153 self.assertAllEqual(val.eval(feed_dict={p: True}), 5.0) [all …]
|
D | smart_cond_test.py | 64 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)
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | iterator_test.py | 432 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/tools/ |
D | saved_model_cli_test.py | 421 feed_dict = saved_model_cli.load_inputs_from_input_arg_string( 423 self.assertTrue(np.all(feed_dict['x0'] == x0)) 424 self.assertTrue(np.all(feed_dict['x1'] == x1)) 431 feed_dict = saved_model_cli.load_inputs_from_input_arg_string( 433 self.assertTrue(np.all(feed_dict['x'] == x0)) 434 self.assertTrue(np.all(feed_dict['y'] == x0)) 451 feed_dict = saved_model_cli.load_inputs_from_input_arg_string( 453 self.assertTrue(np.all(feed_dict['x'] == pkl0['b'])) 454 self.assertTrue(np.all(feed_dict['y'] == pkl1)) 455 self.assertTrue(np.all(feed_dict['z'] == pkl2)) [all …]
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | cli_shared.py | 281 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/layers/ |
D | normalization_test.py | 88 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 …]
|