/external/autotest/frontend/afe/ |
urls.py | 3 from autotest_lib.frontend.afe.feeds import feed 5 feeds = { variable 16 # Job feeds 20 (r'^feeds/(?P<url>.*)/$', 'frontend.afe.feeds.feed.feed_view', 21 {'feed_dict': feeds})
|
/external/tensorflow/tensorflow/go/ |
session.go | 113 // Run the graph with the associated session starting with the supplied feeds 120 func (s *Session) Run(feeds map[Output]*Tensor, fetches []Output, targets []*Operation) ([]*Tensor, error) { 130 c := newCRunArgs(feeds, fetches, targets) 133 ptrOutput(c.feeds), ptrTensor(c.feedTensors), C.int(len(feeds)), 139 runtime.KeepAlive(feeds) 153 // executes the graph to compute the requested fetches using the provided feeds 168 // targets with the provided feeds. 169 func (pr *PartialRun) Run(feeds map[Output]*Tensor, fetches []Output, targets []*Operation) ([]*Tensor, error) { 171 c = newCRunArgs(feeds, fetches, targets [all...] |
/external/tensorflow/tensorflow/cc/client/ |
client_session.cc | 110 std::vector<std::pair<string, Tensor>> feeds; local 113 feeds.emplace_back(feed.first.name(), feed.second.tensor); 126 return impl()->session_->Run(run_options, feeds, output_tensor_names,
|
/external/tensorflow/tensorflow/python/client/ |
session.py | 58 def partial_run_setup(self, fetches, feeds=None): 59 """Sets up the feeds and fetches for partial runs in the session.""" 63 """Continues the execution with additional feeds and fetches.""" 80 # feeds. 94 # feeds of one or more tensors and their corresponding values: `feed_fn1` is 174 function describes how to unpack a single fed value and map it to feeds 414 def __init__(self, graph, fetches, feeds, feed_handles=None): 422 feeds: A feed dict where keys are Tensors. 424 direct feeds. 430 self._feeds = feeds [all...] |
session_partial_run_test.py | 128 handle = sess.partial_run_setup(fetches=fetches, feeds=[]) 186 h = sess.partial_run_setup(fetches=[b], feeds=[a]) 197 sess.partial_run_setup(fetches=[], feeds=[x])
|
/external/tensorflow/tensorflow/python/debug/lib/ |
session_debug_grpc_test.py | 185 def watch_fn(feeds, fetch_keys): 186 del feeds, fetch_keys 214 def watch_fn(feeds, fetch_keys): 215 del feeds, fetch_keys 354 def watch_fn(fetches, feeds): 355 del fetches, feeds 383 def watch_fn(fetches, feeds): 384 del fetches, feeds # Unused by this watch_fn. 405 def watch_fn(fetches, feeds): 406 del fetches, feeds [all...] |
stepper.py | 65 given fetch and feeds. The stepper calculates the transitive closure of the 76 (4) Feeds supplied during the construction of the stepper instance. 558 # the feeds. 559 feeds = {} # The feeds to be used in the Session.run() call. 618 # feeds. Also for example, _override_tensors comes the first, so 622 feeds[inp] = self._override_tensors[inp.name] 624 elif (can_feed and inp not in feeds and 627 feeds[inp] = self._tensor_handles[inp.name] 629 elif (can_feed and inp not in feeds an [all...] |
dist_session_debug_grpc_test.py | 204 def watch_fn(feeds, fetch_keys): 205 del feeds, fetch_keys
|
/external/tensorflow/tensorflow/go/op/ |
op_test.go | 80 feeds := map[tf.Output]*tf.Tensor{ 84 fetched, err := sess.Run(feeds, []tf.Output{z}, nil)
|
/external/tensorflow/tensorflow/python/debug/wrappers/ |
grpc_wrapper.py | 196 def _gated_grpc_watch_fn(fetches, feeds): 197 del fetches, feeds # Unused.
|
dumping_wrapper_test.py | 174 def watch_fn(fetches, feeds): 175 del feeds 216 def watch_fn(fetches, feeds): 217 del fetches, feeds 239 def watch_fn(fetches, feeds): 240 del fetches, feeds
|
hooks.py | 334 def _gated_grpc_watch_fn(fetches, feeds): 335 del fetches, feeds # Unused.
|
/external/tensorflow/tensorflow/cc/framework/ |
while_gradients_test.cc | 67 ClientSession::FeedType feeds; local 69 feeds.emplace(inputs_[i], input_values[i]); 74 TF_ASSERT_OK(session.Run(run_options, feeds, grad_outputs_, run_outputs,
|
/external/tensorflow/tensorflow/cc/ops/ |
while_loop_test.cc | 54 ClientSession::FeedType feeds; local 56 feeds.emplace(inputs_[i], input_values[i]); 60 TF_ASSERT_OK(session.Run(feeds, outputs_, &out_tensors));
|
/external/tensorflow/tensorflow/core/common_runtime/ |
graph_execution_state.cc | 303 std::unordered_set<string> feeds; local 309 feeds.insert(id.first.ToString()); 312 if (feeds.find(node.name()) == feeds.end()) {
|
direct_session.h | 120 // An ExecutorsAndKeys is created for a given set of feeds/fetches. 126 // 'input_keys' are the rendezvous keys for the feeds and 'output_keys' 144 // A FunctionInfo object is created for every unique set of feeds/fetches. 163 // of pending feeds and 'pending_outputs' are the set of pending fetches. 210 // input feeds and fetches, given 'devices'. The graphs share a common 225 // Feeds more inputs to the executors, triggering further execution. 238 // Check if the specified fetches can be computed from the feeds 241 const std::vector<std::pair<string, Tensor>>& feeds,
|
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
gru_ops_test.py | 123 feeds = {concat_x: x_values, h: h_value} 125 block_res = sess.run([outputs_dynamic, state_dynamic], feeds) 136 feeds = {concat_x: x_values, h: h_value} 138 basic_res = sess.run([outputs_dynamic, state_dynamic], feeds) 237 feeds = {concat_x: x_values, h: h_value} 255 [grad_output_wrt_x, grad_output_wrt_h], feeds) 273 [grad_output_wrt_x, grad_output_wrt_h], feeds)
|
core_rnn_test.py | 705 feeds = dict((x, input_value) for x in inputs) 706 values_noshard = sess.run(outputs_noshard, feed_dict=feeds) 707 values_shard = sess.run(outputs_shard, feed_dict=feeds) 708 state_values_noshard = sess.run([state_noshard], feed_dict=feeds) 709 state_values_shard = sess.run([state_shard], feed_dict=feeds) [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
tf2xla.cc | 65 const protobuf::RepeatedPtrField<tf2xla::Feed>& feeds, 67 for (int arg_index = 0; arg_index < feeds.size(); ++arg_index) { 68 const tf2xla::Feed& feed = feeds[arg_index]; 69 // All feeds have been replaced by placeholders. 171 // Sanity-check, to make sure the feeds and fetches still exist post-pruning. 199 ", missing feeds: ", str_util::Join(missing_feeds, ", "),
|
/external/tensorflow/tensorflow/compiler/tests/ |
jit_test.py | 85 feeds = {} 90 feeds[placeholder] = arg 97 feeds, 106 direct = sess.run(direct_op, feeds)
|
nary_ops_test.py | 41 feeds = {placeholders[i]: args[i] for i in range(0, len(args))} 43 result = session.run(output, feeds)
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
memory_optimizer.cc | 75 // It only makes sense to recompute this if it feeds into a target 436 std::unordered_set<string> feeds; local 438 feeds.insert(NodeName(feed.first)); 462 [&cheap_to_recompute_ops, &feeds, &is_target](const NodeDef& node) { 463 return !is_target(node) && feeds.count(node.name()) == 0 && 471 [&feeds, &is_target](const NodeDef& node) { 472 return !is_target(node) && feeds.count(node.name()) == 0 && [all...] |
/prebuilts/go/darwin-x86/src/encoding/xml/ |
read_test.go | 38 feeds that will be pubsubhubbubbed. 39 2. every time one of those feeds changes, tell the hub 59 the top of feeds.py marked NOTE(rsc). 153 feeds that will be pubsubhubbubbed. 154 2. every time one of those feeds changes, tell the hub 174 the top of feeds.py marked NOTE(rsc).
|
/prebuilts/go/linux-x86/src/encoding/xml/ |
read_test.go | 38 feeds that will be pubsubhubbubbed. 39 2. every time one of those feeds changes, tell the hub 59 the top of feeds.py marked NOTE(rsc). 153 feeds that will be pubsubhubbubbed. 154 2. every time one of those feeds changes, tell the hub 174 the top of feeds.py marked NOTE(rsc).
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
master_session.cc | 191 // Checks that the requested fetches can be computed from the provided feeds. 259 // feeds and fetches must be tracked so that the tensors 332 // Only send/recv nodes that were added as feeds and fetches 501 std::unordered_map<StringPiece, size_t, StringPieceHasher> feeds(3); 504 if (!feeds.insert({req.feed_name(i), i}).second) { 505 return errors::InvalidArgument("Duplicated feeds: ", req.feed_name(i)); 549 // If any feeds are provided, send the feed values together 551 // In the partial case, we only want to include feeds provided in the req. 552 // In the non-partial case, all feeds in the request are in the part. 564 auto feeds_iter = feeds.find(name) [all...] |