Home
last modified time | relevance | path

Searched refs:feeds (Results 1 – 25 of 233) sorted by relevance

12345678910

/external/tensorflow/tensorflow/core/common_runtime/
Dlower_case_op_test.cc135 ClientSession::FeedType feeds; in TEST() local
136 feeds.emplace(Output(branch_index.node()), Input::Initializer(-1)); in TEST()
137 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
139 TF_ASSERT_OK(session.Run(feeds, {Output(written_if)}, &out_tensors)); in TEST()
144 ClientSession::FeedType feeds; in TEST() local
145 feeds.emplace(Output(branch_index.node()), Input::Initializer(0)); in TEST()
146 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
148 TF_ASSERT_OK(session.Run(feeds, {Output(written_if)}, &out_tensors)); in TEST()
153 ClientSession::FeedType feeds; in TEST() local
154 feeds.emplace(Output(branch_index.node()), Input::Initializer(1)); in TEST()
[all …]
Dlower_if_op_test.cc131 ClientSession::FeedType feeds; in TEST() local
132 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST()
133 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
135 TF_ASSERT_OK(session.Run(feeds, {Output(written_if)}, &out_tensors)); in TEST()
140 ClientSession::FeedType feeds; in TEST() local
141 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST()
142 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
144 TF_ASSERT_OK(session.Run(feeds, {Output(written_if)}, &out_tensors)); in TEST()
238 ClientSession::FeedType feeds; in TEST() local
239 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST()
[all …]
Dlower_functional_ops_test.cc182 ClientSession::FeedType feeds; in TEST() local
183 feeds.emplace(Output(counter.node()), Input::Initializer(0)); in TEST()
184 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST()
185 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
187 TF_ASSERT_OK(session.Run(feeds, {Output(while_node, 2)}, &out_tensors)); in TEST()
192 ClientSession::FeedType feeds; in TEST() local
193 feeds.emplace(Output(counter.node()), Input::Initializer(0)); in TEST()
194 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST()
195 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
197 TF_ASSERT_OK(session.Run(feeds, {Output(while_node, 2)}, &out_tensors)); in TEST()
[all …]
Dlower_while_op_test.cc157 ClientSession::FeedType feeds; in TEST() local
158 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
160 TF_ASSERT_OK(session.Run(feeds, {Output(while_node)}, &out_tensors)); in TEST()
165 ClientSession::FeedType feeds; in TEST() local
166 feeds.emplace(Output(a.node()), Input::Initializer(3)); in TEST()
168 TF_ASSERT_OK(session.Run(feeds, {Output(while_node)}, &out_tensors)); in TEST()
492 ClientSession::FeedType feeds; in TEST() local
493 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
494 feeds.emplace(Output(b.node()), Input::Initializer(1)); in TEST()
497 feeds, {Output(while_node, 0), Output(while_node, 1)}, &out_tensors)); in TEST()
[all …]
Dlower_function_call_op_test.cc127 ClientSession::FeedType feeds; in TEST() local
128 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
130 TF_ASSERT_OK(session.Run(feeds, {Output(b)}, &out_tensors)); in TEST()
192 ClientSession::FeedType feeds; in TEST() local
193 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
196 session.Run(feeds, {Output(tpu_call), Output(xla_call)}, &out_tensors)); in TEST()
/external/tensorflow/tensorflow/go/
Dsession.go134 func (s *Session) Run(feeds map[Output]*Tensor, fetches []Output, targets []*Operation) ([]*Tensor,…
144 c := newCRunArgs(feeds, fetches, targets)
147 ptrOutput(c.feeds), ptrTensor(c.feedTensors), C.int(len(feeds)),
153 runtime.KeepAlive(feeds)
183 func (pr *PartialRun) Run(feeds map[Output]*Tensor, fetches []Output, targets []*Operation) ([]*Ten…
185 c = newCRunArgs(feeds, fetches, targets)
199 ptrOutput(c.feeds), ptrTensor(c.feedTensors), C.int(len(feeds)),
215 func (s *Session) NewPartialRun(feeds, fetches []Output, targets []*Operation) (*PartialRun, error)…
217 cfeeds = make([]C.TF_Output, len(feeds))
227 if len(feeds) > 0 {
[all …]
Dsession_test.go129 feeds := make(map[Output]*Tensor, len(inputs))
135 feeds[in] = tensor
139 feeds,
172 feeds := make(map[Output]*Tensor, len(inputs))
178 feeds[in] = tensor
181 return newCRunArgs(feeds, nil, nil)
186 if !reflect.DeepEqual(args1.feeds, args2.feeds) {
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_large_data_test.py70 def watch_fn(fetches, feeds): argument
71 del fetches, feeds
102 def watch_fn(fetches, feeds): argument
103 del fetches, feeds # Unused by this watch_fn.
126 def watch_fn(fetches, feeds): argument
127 del fetches, feeds
156 def watch_fn(fetches, feeds): argument
157 del fetches, feeds
178 def watch_fn(fetches, feeds): argument
179 del fetches, feeds
[all …]
/external/tensorflow/tensorflow/python/debug/wrappers/
Ddisk_usage_test.py57 def _watch_fn(fetches, feeds): argument
58 del fetches, feeds
66 def _watch_fn(fetches, feeds): argument
67 del fetches, feeds
85 def _watch_fn(fetches, feeds): argument
86 del fetches, feeds
94 def _watch_fn(fetches, feeds): argument
95 del fetches, feeds
Ddumping_wrapper_test.py174 def watch_fn(fetches, feeds): argument
175 del feeds
216 def watch_fn(fetches, feeds): argument
217 del fetches, feeds
239 def watch_fn(fetches, feeds): argument
240 del fetches, feeds
Dgrpc_wrapper.py193 def _gated_grpc_watch_fn(fetches, feeds): argument
194 del fetches, feeds # Unused.
/external/autotest/frontend/afe/
Durls.py3 from autotest_lib.frontend.afe.feeds import feed
5 feeds = { variable
21 {'feed_dict': feeds})
/external/tensorflow/tensorflow/cc/client/
Dclient_session.cc110 std::vector<std::pair<string, Tensor>> feeds; in Run() local
113 feeds.emplace_back(feed.first.name(), feed.second.tensor); in Run()
126 return impl()->session_->Run(run_options, feeds, output_tensor_names, in Run()
136 std::vector<std::pair<string, Tensor>> feeds; in Run() local
139 feeds.emplace_back(feed.first.name(), feed.second.tensor); in Run()
152 return impl()->session_->Run(run_options, feeds, output_tensor_names, in Run()
/external/tensorflow/tensorflow/python/client/
Dsession.py70 def partial_run_setup(self, fetches, feeds=None): argument
474 def __init__(self, graph, fetches, feeds, feed_handles=None): argument
490 self._feeds = feeds
508 self._final_fetches = [x for x in self._fetches if x.ref() not in feeds]
1026 def partial_run_setup(self, fetches, feeds=None): argument
1062 if feeds is None:
1063 feeds = []
1068 is_list_feed = isinstance(feeds, (list, tuple))
1070 feeds = [feeds]
1071 for feed in feeds:
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py106 feeds=[filename_tensor],
146 feeds = [
152 for original_input_name, feed in zip(original_input_names, feeds):
171 signature_fn = wrapped.prune(feeds=feeds, fetches=fetches)
247 feeds=asset_feed_tensors,
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Dtfcompile.md24 feeds and fetches, and generates a function that implements that subgraph.
25 The `feeds` are the input arguments for the function, and the `fetches` are the
27 feeds; the resulting pruned subgraph cannot contain Placeholder or Variable
28 nodes. It is common to specify all Placeholders and Variables as feeds, which
46 Identify the feeds and fetches that correspond to the input and output
47 arguments for the generated function. Then configure the `feeds` and `fetches`
103 # created from this input graph, with feeds as inputs and fetches as outputs.
108 # feeds and fetches were specified above, in the previous step.
128 > having them compiled-in, simply pass them in as feeds.
/external/tensorflow/tensorflow/cc/ops/
Dwhile_loop_test.cc54 ClientSession::FeedType feeds; in Run() local
56 feeds.emplace(inputs_[i], input_values[i]); in Run()
60 TF_ASSERT_OK(session.Run(feeds, outputs_, &out_tensors)); in Run()
/external/tensorflow/tensorflow/compiler/tests/
Ddynamic_slice_ops_test.py39 feeds = {placeholders[i]: args[i] for i in range(0, len(args))}
41 result = session.run(output, feeds)
/external/tensorflow/tensorflow/cc/framework/
Dwhile_gradients_test.cc67 ClientSession::FeedType feeds; in Run() local
69 feeds.emplace(inputs_[i], input_values[i]); in Run()
74 TF_ASSERT_OK(session.Run(run_options, feeds, grad_outputs_, run_outputs, in Run()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/
Dmulti-output-feeds.pbtxt266 # Test non zero index output tensors as feeds. Original ops where their outputs
267 # are replaced with feeds are preserved and args and rets are lifted to the
281 # Test when non zero index output tensors are feeds, remaining ops that are
298 # Test when non zero index output tensors are feeds, remaining ops that are
/external/tensorflow/tensorflow/go/op/
Dop_test.go80 feeds := map[tf.Output]*tf.Tensor{
84 fetched, err := sess.Run(feeds, []tf.Output{z}, nil)
/external/flac/fuzzer/
DREADME.md20 The plugin feeds the input data to the codec using a read_callback as and when
21 requested by the decoder. The read_callback feeds the input data to the decoder
89 The plugin feeds the entire input data to the codec and continues with the encoding even on a failu…
/external/tensorflow/tensorflow/compiler/tf2xla/
Dgraph_compiler_util.cc55 const protobuf::RepeatedPtrField<tf2xla::Feed>& feeds, in AddArgNodes() argument
58 for (int arg_index = 0; arg_index < feeds.size(); ++arg_index) { in AddArgNodes()
59 const tf2xla::Feed& feed = feeds[arg_index]; in AddArgNodes()
/external/tensorflow/tensorflow/python/eager/
Dwrap_function_test.py192 feeds=f_wrapped.inputs,
198 feeds=(),
264 feeds=f_wrapped.inputs,
285 feeds=(),
300 feeds=(f_wrapped.graph.get_tensor_by_name('step:0')),
310 feeds=(f_wrapped.graph.get_tensor_by_name('step:0')),
/external/bazelbuild-rules_android/rules/
Ddata_binding_annotation_template.txt6 * Template for the file that feeds data binding's annotation processor. The

12345678910