Home
last modified time | relevance | path

Searched refs:feed (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/external/tensorflow/tensorflow/compiler/tests/
Dlstm_layer_inference.config.pbtxt2 feed{ id{node_name:"inputs/x_seq_0/read"} shape{dim{size:128}dim{size:1024}} }
3 feed{ id{node_name:"inputs/x_seq_1/read"} shape{dim{size:128}dim{size:1024}} }
4 feed{ id{node_name:"inputs/x_seq_2/read"} shape{dim{size:128}dim{size:1024}} }
5 feed{ id{node_name:"inputs/x_seq_3/read"} shape{dim{size:128}dim{size:1024}} }
6 feed{ id{node_name:"inputs/x_seq_4/read"} shape{dim{size:128}dim{size:1024}} }
7 feed{ id{node_name:"inputs/pad_seq_0/read"} shape{dim{size:128}dim{size:1}} }
8 feed{ id{node_name:"inputs/pad_seq_1/read"} shape{dim{size:128}dim{size:1}} }
9 feed{ id{node_name:"inputs/pad_seq_2/read"} shape{dim{size:128}dim{size:1}} }
10 feed{ id{node_name:"inputs/pad_seq_3/read"} shape{dim{size:128}dim{size:1}} }
11 feed{ id{node_name:"inputs/pad_seq_4/read"} shape{dim{size:128}dim{size:1}} }
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util_test.cc49 tf2xla::Feed* feed = config.add_feed(); in TEST() local
50 feed->mutable_id()->set_node_name("foo"); in TEST()
51 feed->mutable_id()->set_output_index(123); in TEST()
52 feed->set_name("foo_debug"); in TEST()
53 feed = config.add_feed(); in TEST()
54 feed->mutable_id()->set_node_name("bar"); in TEST()
55 feed->mutable_id()->set_output_index(0); in TEST()
73 tf2xla::Feed* feed = config.add_feed(); in TEST() local
74 feed->mutable_id()->set_node_name("foo"); in TEST()
86 tf2xla::Feed* feed = config.add_feed(); in TEST() local
[all …]
Dtf2xla_util.cc314 for (const tf2xla::Feed& feed : config.feed()) { in ValidateConfig() local
315 TF_RETURN_IF_ERROR(ValidateTensorId(feed.id())); in ValidateConfig()
316 TF_RETURN_IF_ERROR(TensorShape::IsValidShape(feed.shape())); in ValidateConfig()
317 TF_RETURN_IF_ERROR(CheckNameDuplicates("feed", feed.name(), &names)); in ValidateConfig()
336 const tf2xla::Feed* feed = nullptr; // point to Feed in <config>. in AddPlaceholdersForFeeds() member
345 const tf2xla::Feed* feed = &config.feed(i); in AddPlaceholdersForFeeds() local
346 const string name_port = TensorIdToString(feed->id()); in AddPlaceholdersForFeeds()
348 info.feed = feed; in AddPlaceholdersForFeeds()
349 info.placeholder_name = absl::StrCat("aot_feed_", feed->id().output_index(), in AddPlaceholdersForFeeds()
350 "/", feed->id().node_name()); in AddPlaceholdersForFeeds()
[all …]
Dtf2xla.cc70 const tf2xla::Feed& feed = feeds[arg_index]; in AddArgNodes() local
74 const string key = TensorIdToString(feed.id()); in AddArgNodes()
96 .Attr(kFeedIdAttr, TensorIdToString(feed.id())) in AddArgNodes()
97 .Attr(kShapeAttr, TensorShape(feed.shape())) in AddArgNodes()
98 .Attr(kDebugNameAttr, feed.name()) in AddArgNodes()
163 AddArgNodes(graph, node_map, config.feed(), feed_remapping)); in RewriteAndPruneGraph()
173 for (const tf2xla::Feed& feed : config.feed()) { in RewriteAndPruneGraph() local
174 missing_feeds.insert(TensorIdToString(feed.id())); in RewriteAndPruneGraph()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment_test.cc124 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT); in TEST_F() local
125 auto add0 = ops::Add(s.WithOpName("add0"), feed, feed); in TEST_F()
126 auto add1 = ops::Add(s.WithOpName("add1"), feed, feed); in TEST_F()
171 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT); in TEST_F() local
172 auto add0 = ops::Add(s.WithOpName("add0"), feed, feed); in TEST_F()
173 auto add1 = ops::Add(s.WithOpName("add1"), feed, feed); in TEST_F()
198 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT); in TEST_F() local
199 auto add0 = ops::Add(s.WithOpName("add0"), feed, feed); in TEST_F()
200 auto add1 = ops::Add(s.WithOpName("add1"), feed, feed); in TEST_F()
201 auto add7 = ops::Add(s.WithOpName("add7"), feed, feed); in TEST_F()
[all …]
/external/deqp/framework/common/
DtcuSeedBuilder.cpp67 void SeedBuilder::feed (size_t size, const void* ptr) in feed() function in tcu::SeedBuilder
76 builder.feed(sizeof(val), &val); in operator <<()
84 builder.feed(sizeof(val), &val); in operator <<()
92 builder.feed(sizeof(val), &val); in operator <<()
105 builder.feed(sizeof(data), data); in operator <<()
118 builder.feed(sizeof(data), data); in operator <<()
133 builder.feed(sizeof(data), data); in operator <<()
148 builder.feed(sizeof(data), data); in operator <<()
168 builder.feed(sizeof(data), data); in operator <<()
188 builder.feed(sizeof(data), data); in operator <<()
[all …]
/external/tensorflow/tensorflow/python/client/
Dsession.py75 def _get_feeds_for_indexed_slices(feed, feed_val): argument
77 zip([feed.values, feed.indices] if feed.dense_shape is None else
78 [feed.values, feed.indices, feed.dense_shape], feed_val))
112 lambda feed, feed_val: list(zip(
113 [feed.indices, feed.values, feed.dense_shape], feed_val)),
114 lambda feed: [feed.indices, feed.values, feed.dense_shape]),
123 lambda feed: [feed.values, feed.indices] if feed.dense_shape is None
124 else [feed.values, feed.indices, feed.dense_shape]),
128 lambda feed, feed_val: [(feed, feed_val)],
129 lambda feed: [feed])]
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dscalar_test.py43 def placeholders(args, feed): argument
45 return [placeholders(x, feed) for x in args]
49 feed[fake] = x
57 feed = {}
58 xs = placeholders(args, feed)
62 sess.run(x, feed_dict=feed)
64 r = sess.run(x, feed_dict=feed)
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc203 new_item->feed.emplace_back(feed_name, Tensor()); in GrapplerItemFromMetaGraphDef()
240 new_item->feed.emplace_back( in GrapplerItemFromMetaGraphDef()
248 new_item->feed.emplace_back( in GrapplerItemFromMetaGraphDef()
257 new_item->feed.emplace_back( in GrapplerItemFromMetaGraphDef()
276 new_item->feed.emplace_back(NodeName(input.name()), fake_input); in GrapplerItemFromMetaGraphDef()
310 for (const auto& feed : new_item->feed) { in GrapplerItemFromMetaGraphDef() local
311 if (feed.first.empty()) { in GrapplerItemFromMetaGraphDef()
315 VLOG(1) << "Will use feed node " << feed.first; in GrapplerItemFromMetaGraphDef()
502 new_item->feed.emplace_back(node.name(), fake_input); in GrapplerItemFromMetaGraphDef()
506 auto it = find_if(new_item->feed.begin(), new_item->feed.end(), in GrapplerItemFromMetaGraphDef()
[all …]
Dgrappler_item_builder_test.cc244 EXPECT_EQ(item->feed.size(), 1); in TEST_F()
246 EXPECT_EQ(item->feed[0].first, "x"); in TEST_F()
305 ASSERT_EQ(item1->feed.size(), 1); in TEST_F()
306 EXPECT_EQ(item1->feed[0].second.NumElements(), 64); in TEST_F()
312 ASSERT_EQ(item2->feed.size(), 1); in TEST_F()
313 EXPECT_EQ(item2->feed[0].second.NumElements(), 1); in TEST_F()
333 EXPECT_EQ(item->feed.size(), 1); in TEST_F()
335 EXPECT_EQ(item->feed[0].first, "x"); in TEST_F()
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
Dpause-play.js51 this.elements.forEach((feed) => {
53 feed.play();
55 feed.pause();
64 this.elements.forEach((feed) => {
65 feed.pause();
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DSessionTest.java38 new TestUtil.AutoCloseableList<Tensor<?>>(s.runner().feed("X", x).fetch("Y").run())) { in runUsingOperationNames()
51 Output<Integer> feed = g.operation("X").output(0); in runUsingOperationHandles() local
55 … new TestUtil.AutoCloseableList<Tensor<?>>(s.runner().feed(feed, x).fetch(fetch).run())) { in runUsingOperationHandles()
88 .feed("Split:0", fed) in runUsingColonSeparatedNames()
89 .feed("Split:1", fed) in runUsingColonSeparatedNames()
108 .feed("X", x) in runWithMetadata()
/external/tensorflow/tensorflow/contrib/android/java/org/tensorflow/contrib/android/
DTensorFlowInferenceInterface.java301 public void feed(String inputName, boolean[] src, long... dims) { in feed() method in TensorFlowInferenceInterface
317 public void feed(String inputName, float[] src, long... dims) { in feed() method in TensorFlowInferenceInterface
327 public void feed(String inputName, int[] src, long... dims) { in feed() method in TensorFlowInferenceInterface
337 public void feed(String inputName, long[] src, long... dims) { in feed() method in TensorFlowInferenceInterface
347 public void feed(String inputName, double[] src, long... dims) { in feed() method in TensorFlowInferenceInterface
357 public void feed(String inputName, byte[] src, long... dims) { in feed() method in TensorFlowInferenceInterface
388 public void feed(String inputName, FloatBuffer src, long... dims) { in feed() method in TensorFlowInferenceInterface
399 public void feed(String inputName, IntBuffer src, long... dims) { in feed() method in TensorFlowInferenceInterface
410 public void feed(String inputName, LongBuffer src, long... dims) { in feed() method in TensorFlowInferenceInterface
421 public void feed(String inputName, DoubleBuffer src, long... dims) { in feed() method in TensorFlowInferenceInterface
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph_test.cc65 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT, feed_attrs); in TEST() local
69 auto matmul = ops::MatMul(s.WithOpName("matmul"), feed, const_1); in TEST()
75 feed, const_1, matmul_attrs); in TEST()
78 auto unsupported_op = ops::Erf(s.WithOpName("sin"), feed); in TEST()
90 auto quantize = ops::FakeQuantWithMinMaxArgs(s.WithOpName("quantize"), feed, in TEST()
97 item.feed.push_back(std::make_pair("feed", feed_tensor)); in TEST()
141 const std::vector<std::pair<string, Tensor>>& feed, in Run() argument
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dremapper_test.cc130 item.feed = {{"input", input_t}, {"filter", filter_t}, {"bias", bias_t}}; in TEST_F()
160 auto tensors_expected = EvaluateNodes(item.graph, item.fetch, item.feed); in TEST_F()
161 auto tensors = EvaluateNodes(output, item.fetch, item.feed); in TEST_F()
194 item.feed = {{"input", input_t}, {"filter", filter_t}, {"bias", bias_t}}; in TEST_F()
225 auto tensors_expected = EvaluateNodes(item.graph, item.fetch, item.feed); in TEST_F()
226 auto tensors = EvaluateNodes(output, item.fetch, item.feed); in TEST_F()
267 item.feed = {{"input", input_t}, {"filter", filter_t}, in TEST_F()
302 auto tensors_expected = EvaluateNodes(item.graph, item.fetch, item.feed); in TEST_F()
303 auto tensors = EvaluateNodes(output, item.fetch, item.feed); in TEST_F()
345 item.feed = {{"input", input_t}, {"filter", filter_t}, in TEST_F()
[all …]
Dfunction_optimizer_test.cc111 item.feed.emplace_back("x", pi); in TEST_F()
187 item.feed.emplace_back("x", pi); in TEST_F()
287 item.feed.emplace_back("x", pi); in TEST_F()
371 item.feed.emplace_back("x", pi); in TEST_F()
417 item.feed.emplace_back("x0", test::AsScalar<float>(3.14f)); in TEST_F()
418 item.feed.emplace_back("x1", test::AsScalar<float>(2.7f)); in TEST_F()
419 item.feed.emplace_back("x2", test::AsScalar<float>(1.0f)); in TEST_F()
420 item.feed.emplace_back("x4", test::AsScalar<float>(-1.0f)); in TEST_F()
421 item.feed.emplace_back("x3", test::AsScalar<int>(1234)); in TEST_F()
551 item.feed.emplace_back("a", test::AsScalar<float>(2.0f)); in TEST_F()
[all …]
/external/python/cpython3/Lib/test/
Dtest_sax.py932 parser.feed('<!DOCTYPE doc [\n')
933 parser.feed(' <!ENTITY img SYSTEM "expat.gif" NDATA GIF>\n')
934 …parser.feed(' <!NOTATION GIF PUBLIC "-//CompuServe//NOTATION Graphics Interchange Format 89a//EN"…
935 parser.feed(']>\n')
936 parser.feed('<doc></doc>')
950 parser.feed(
962 parser.feed(
965 parser.feed('<doc />')
985 parser.feed('<!DOCTYPE doc [\n')
986 parser.feed(' <!ENTITY test SYSTEM "whatever">\n')
[all …]
/external/tensorflow/tensorflow/compiler/aot/tests/
Dtest_graph_tfcond.config.pbtxt2 feed {
6 feed {
12 feed {
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine.cc145 const std::vector<std::pair<string, Tensor>>& feed, in Run() argument
188 TF_RETURN_IF_ERROR(RunWithTimeout(feed, fetch, nullptr)); in Run()
196 TF_RETURN_IF_ERROR(RunWithTimeout(feed, fetch, metadata)); in Run()
203 return RunWithTimeout(feed, fetch, nullptr); in Run()
244 const std::vector<std::pair<string, Tensor>>& feed, in RunWithTimeout() argument
246 return RunWithTimeout(feed, fetch, run_metadata, timeout_s_); in RunWithTimeout()
250 const std::vector<std::pair<string, Tensor>>& feed, in RunWithTimeout() argument
262 [this, status, local_metadata, feed, fetch]() { in RunWithTimeout()
263 *status = session_->Run(run_options_, feed, {}, fetch, nullptr, in RunWithTimeout()
/external/tensorflow/tensorflow/compiler/aot/
Dtest_graph_tfunknownop2.config.pbtxt2 feed {
8 feed {
14 feed {
Dtest_graph_tfunknownop3.config.pbtxt2 feed {
8 feed {
14 feed {
Dcodegen_test.cc169 tf2xla::Feed* feed = config.add_feed(); in TEST() local
170 feed->mutable_id()->set_node_name("feed0"); in TEST()
171 feed->set_name("myfeed"); in TEST()
172 feed = config.add_feed(); in TEST()
173 feed->mutable_id()->set_node_name("feed1"); in TEST()
/external/python/cpython2/Lib/test/
Dtest_sax.py704 parser.feed('<!DOCTYPE doc [\n')
705 parser.feed(' <!ENTITY img SYSTEM "expat.gif" NDATA GIF>\n')
706 …parser.feed(' <!NOTATION GIF PUBLIC "-//CompuServe//NOTATION Graphics Interchange Format 89a//EN"…
707 parser.feed(']>\n')
708 parser.feed('<doc></doc>')
730 parser.feed('<!DOCTYPE doc [\n')
731 parser.feed(' <!ENTITY test SYSTEM "whatever">\n')
732 parser.feed(']>\n')
733 parser.feed('<doc>&test;</doc>')
754 parser.feed("<doc/>")
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc453 const string& feed = options.callable_options.feed(i); in PruneGraph() local
455 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, feed, in PruneGraph()
459 new subgraph::ArgFeedRewrite(&feed, device_info, i)); in PruneGraph()
460 tensors_and_devices.push_back({ParseTensorName(feed), device_info}); in PruneGraph()
494 for (const string& feed : options.callable_options.feed()) { in PruneGraph() local
496 new subgraph::RecvFeedRewrite(&feed, device_info)); in PruneGraph()
631 if (!(options.callable_options.feed().empty() && in OptimizeGraph()
634 for (const string& feed : options.callable_options.feed()) { in OptimizeGraph() local
635 TensorId id = ParseTensorName(feed); in OptimizeGraph()
637 return errors::InvalidArgument("Unsupported feed: ", feed); in OptimizeGraph()
[all …]
/external/autotest/client/site_tests/audio_WebRtcAudioLoopback/
Daudio_loopback_test.js119 this.audioElements.forEach((feed) => feed.play());
134 this.audioElements.forEach((feed) => feed.pause());

12345678910>>...16