/external/tensorflow/tensorflow/compiler/tests/ |
D | lstm_layer_inference.config.pbtxt | 2 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 …]
|
D | where_op_test.py | 41 feed = [[True, False, False], [False, True, True]] 43 sess.run(true_vals, {x: feed})) 57 feed = [[True, False], [True, True]] 58 self.assertAllEqual([0, 2, 3], sess.run(gathered, {x: feed})) 73 feed = [[True, False], [True, True]] 74 self.assertAllEqual(5, sess.run(reduction, {x: feed})) 85 feed = [True, False, True] 86 self.assertAllEqual([[0], [2]], sess.run(result, {x: feed}))
|
/external/deqp/framework/common/ |
D | tcuSeedBuilder.cpp | 67 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/compiler/tf2xla/ |
D | tf2xla_util_test.cc | 51 tf2xla::Feed* feed = config.add_feed(); in TEST() local 52 feed->mutable_id()->set_node_name("foo"); in TEST() 53 feed->mutable_id()->set_output_index(123); in TEST() 54 feed->set_name("foo_debug"); in TEST() 55 feed = config.add_feed(); in TEST() 56 feed->mutable_id()->set_node_name("bar"); in TEST() 57 feed->mutable_id()->set_output_index(0); in TEST() 75 tf2xla::Feed* feed = config.add_feed(); in TEST() local 76 feed->mutable_id()->set_node_name("foo"); in TEST() 88 tf2xla::Feed* feed = config.add_feed(); in TEST() local [all …]
|
D | mlir_tf2xla.cc | 64 for (const tf2xla::Feed& feed : config.feed()) { in ConvertInputInfo() local 66 feed_name_remap.at(TensorIdToString(feed.id())); in ConvertInputInfo() 69 feed.type() == DT_INVALID ? "" : DataType_Name(feed.type())); in ConvertInputInfo() 70 if (feed.shape().unknown_rank()) { in ConvertInputInfo() 75 dims.reserve(feed.shape().dim_size()); in ConvertInputInfo() 76 absl::c_for_each(feed.shape().dim(), [&](const TensorShapeProto::Dim d) { in ConvertInputInfo()
|
D | tf2xla_util.cc | 314 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 …]
|
D | graph_compiler_util.cc | 59 const tf2xla::Feed& feed = feeds[arg_index]; in AddArgNodes() local 63 const string key = TensorIdToString(feed.id()); in AddArgNodes() 87 .Attr(kFeedIdAttr, TensorIdToString(feed.id())) in AddArgNodes() 88 .Attr(kShapeAttr, TensorShape(feed.shape())) in AddArgNodes() 89 .Attr(kDebugNameAttr, feed.name()) in AddArgNodes() 156 TF_RETURN_IF_ERROR(AddArgNodes(graph, node_map, config.feed(), feed_remapping, in RewriteAndPruneGraph() 166 for (const tf2xla::Feed& feed : config.feed()) { in RewriteAndPruneGraph() local 167 missing_feeds.insert(TensorIdToString(feed.id())); in RewriteAndPruneGraph()
|
/external/tensorflow/tensorflow/python/client/ |
D | session.py | 85 def _get_feeds_for_indexed_slices(feed, feed_val): argument 87 zip([feed.values, feed.indices] if feed.dense_shape is None else 88 [feed.values, feed.indices, feed.dense_shape], feed_val)) 121 lambda feed, feed_val: list( 122 zip([feed.indices, feed.values, feed.dense_shape], feed_val)), 123 lambda feed: [feed.indices, feed.values, feed.dense_shape]), 131 lambda feed: [feed.values, feed.indices] if feed.dense_shape is None else 132 [feed.values, feed.indices, feed.dense_shape]), 135 lambda feed, feed_val: [(feed, feed_val)], lambda feed: [feed]) 1048 def _feed_fn(feed): argument [all …]
|
/external/rust/crates/futures-util/src/sink/ |
D | send.rs | 12 feed: Feed<'a, Si, Item>, field 21 feed: Feed::new(sink, item), in new() 35 if this.feed.is_item_pending() { in poll() 36 ready!(Pin::new(&mut this.feed).poll(cx))?; in poll() 37 debug_assert!(!this.feed.is_item_pending()); in poll() 42 ready!(this.feed.sink_pin_mut().poll_flush(cx))?; in poll()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/ |
D | segment_test.cc | 146 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT); in TEST_F() local 147 auto add0 = ops::Add(s.WithOpName("add0"), feed, feed); in TEST_F() 148 auto add1 = ops::Add(s.WithOpName("add1"), feed, feed); in TEST_F() 194 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT); in TEST_F() local 195 auto add0 = ops::Add(s.WithOpName("add0"), feed, feed); in TEST_F() 196 auto add1 = ops::Add(s.WithOpName("add1"), feed, feed); in TEST_F() 257 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT); in TEST_F() local 258 auto add0 = ops::Add(s.WithOpName("add0"), feed, feed); in TEST_F() 259 auto add1 = ops::Add(s.WithOpName("add1"), feed, feed); in TEST_F() 285 auto feed = ops::Placeholder(s.WithOpName("feed"), DT_FLOAT); in TEST_F() local [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | scalar_test.py | 44 def placeholders(args, feed): argument 46 return [placeholders(x, feed) for x in args] 50 feed[fake] = x 58 feed = {} 59 xs = placeholders(args, feed) 63 sess.run(x, feed_dict=feed) 65 r = sess.run(x, feed_dict=feed)
|
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/ |
D | pause-play.js | 51 this.elements.forEach((feed) => { 53 feed.play(); 55 feed.pause(); 64 this.elements.forEach((feed) => { 65 feed.pause();
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | graph_execution_state.cc | 512 const string& feed = options.callable_options.feed(i); in PruneGraph() local 514 TF_RETURN_IF_ERROR(LookupDevice(*device_set_, feed, in PruneGraph() 518 new subgraph::ArgFeedRewrite(&feed, device_info, i)); in PruneGraph() 519 tensors_and_devices.push_back({ParseTensorName(feed), device_info}); in PruneGraph() 553 for (const string& feed : options.callable_options.feed()) { in PruneGraph() local 555 new subgraph::RecvFeedRewrite(&feed, device_info)); in PruneGraph() 681 if (!(options.callable_options.feed().empty() && in OptimizeGraph() 685 for (const string& feed : options.callable_options.feed()) { in OptimizeGraph() 686 feeds.emplace_back(ParseTensorName(feed)); in OptimizeGraph() 700 for (const SafeTensorId& feed : feeds) { in OptimizeGraph() [all …]
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | SessionTest.java | 38 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/cc/client/ |
D | client_session.cc | 111 for (auto const& feed : inputs) { in Run() local 112 TF_RETURN_IF_ERROR(feed.second.status); in Run() 113 feeds.emplace_back(feed.first.name(), feed.second.tensor); in Run() 137 for (auto const& feed : inputs) { in Run() local 138 TF_RETURN_IF_ERROR(feed.second.status); in Run() 139 feeds.emplace_back(feed.first.name(), feed.second.tensor); in Run()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | grappler_item_builder.cc | 181 new_item->feed.emplace_back(node->name(), fake_input); in UpdatePlaceholderShape() 185 auto it = find_if(new_item->feed.begin(), new_item->feed.end(), in UpdatePlaceholderShape() 189 DCHECK(it != new_item->feed.end()); in UpdatePlaceholderShape() 303 new_item->feed.emplace_back(feed_name, Tensor()); in GrapplerItemFromMetaGraphDef() 340 new_item->feed.emplace_back( in GrapplerItemFromMetaGraphDef() 348 new_item->feed.emplace_back( in GrapplerItemFromMetaGraphDef() 357 new_item->feed.emplace_back( in GrapplerItemFromMetaGraphDef() 376 new_item->feed.emplace_back(NodeName(input.name()), fake_input); in GrapplerItemFromMetaGraphDef() 410 for (const auto& feed : new_item->feed) { in GrapplerItemFromMetaGraphDef() local 411 if (feed.first.empty()) { in GrapplerItemFromMetaGraphDef() [all …]
|
/external/tensorflow/tensorflow/tools/android/inference_interface/java/org/tensorflow/contrib/android/ |
D | TensorFlowInferenceInterface.java | 301 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/core/grappler/optimizers/ |
D | remapper_test.cc | 168 item.feed = {{"input", input_t}, in TEST_F() 210 auto tensors_expected = EvaluateNodes(item.graph, item.fetch, item.feed); in TEST_F() 212 auto tensors = EvaluateNodes(output, item.fetch, item.feed); in TEST_F() 281 item.feed = {{"input", input_t}, {"scale", scale_t}, in TEST_F() 322 auto tensors_expected = EvaluateNodes(item.graph, item.fetch, item.feed); in TEST_F() 324 auto tensors = EvaluateNodes(output, item.fetch, item.feed); in TEST_F() 355 item.feed = {{"input", input_t}, {"filter", filter_t}, {"bias", bias_t}}; in TEST_F() 386 auto tensors_expected = EvaluateNodes(item.graph, item.fetch, item.feed); in TEST_F() 388 auto tensors = EvaluateNodes(output, item.fetch, item.feed); in TEST_F() 419 item.feed = {{"lhs", lhs_t}, {"rhs", rhs_t}, {"bias", bias_t}}; in RunTest() [all …]
|
D | function_optimizer_test.cc | 77 item.feed.emplace_back("x", pi); in TEST_F() 136 item.feed.emplace_back("x", pi); in TEST_F() 185 item.feed.emplace_back("x", pi); in TEST_F() 238 item.feed.emplace_back("x0", test::AsScalar<float>(3.14f)); in TEST_F() 239 item.feed.emplace_back("x1", test::AsScalar<float>(2.7f)); in TEST_F() 240 item.feed.emplace_back("x2", test::AsScalar<float>(1.0f)); in TEST_F() 241 item.feed.emplace_back("x4", test::AsScalar<float>(-1.0f)); in TEST_F() 242 item.feed.emplace_back("x3", test::AsScalar<int>(1234)); in TEST_F() 336 item.feed.emplace_back("a", test::AsScalar<float>(2.0f)); in TEST_F() 507 item.feed.emplace_back("a", pi); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/aot/tests/ |
D | test_graph_tfcond.config.pbtxt | 2 feed { 6 feed { 12 feed {
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | test_graph_tfunknownop2.config.pbtxt | 2 feed { 8 feed { 14 feed {
|
D | test_graph_tfunknownop3.config.pbtxt | 2 feed { 8 feed { 14 feed {
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/ |
D | AdtsReaderTest.java | 86 feed(); in skipToNextSample() 108 feed(); in skipToNextSampleResetsState() 170 feed(); in multiPacketConsumed() 185 feed(); in adtsDataOnly() 193 feed(); in feedLimited() 196 private void feed() throws ParserException { in feed() method in AdtsReaderTest
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | load_v1_in_v2.py | 152 for original_input_name, feed in zip(original_input_names, feeds): 153 if isinstance(feed, sparse_tensor.SparseTensor): 160 input_tensors.extend([feed.indices, feed.values, feed.dense_shape]) 161 elif isinstance(feed, composite_tensor.CompositeTensor): 162 component_tensors = nest.flatten(feed, expand_composites=True) 168 input_tensors.append(feed)
|
/external/python/cpython3/Lib/test/ |
D | test_sax.py | 971 parser.feed('<!DOCTYPE doc [\n') 972 parser.feed(' <!ENTITY img SYSTEM "expat.gif" NDATA GIF>\n') 973 …parser.feed(' <!NOTATION GIF PUBLIC "-//CompuServe//NOTATION Graphics Interchange Format 89a//EN"… 974 parser.feed(']>\n') 975 parser.feed('<doc></doc>') 992 parser.feed( 1004 parser.feed( 1007 parser.feed('<doc />') 1027 parser.feed('<!DOCTYPE doc [\n') 1028 parser.feed(' <!ENTITY test SYSTEM "whatever">\n') [all …]
|