Home
last modified time | relevance | path

Searched refs:end_of_sequence (Results 1 – 25 of 89) sorted by relevance

1234

/external/tensorflow/tensorflow/core/kernels/data/
Drepeat_dataset_op.cc111 bool* end_of_sequence) override { in GetNextInternal() argument
112 *end_of_sequence = true; in GetNextInternal()
143 bool* end_of_sequence) override { in GetNextInternal() argument
146 *end_of_sequence = true; in GetNextInternal()
151 input_impl_->GetNext(ctx, out_tensors, end_of_sequence)); in GetNextInternal()
152 if (!*end_of_sequence) { in GetNextInternal()
159 *end_of_sequence = true; in GetNextInternal()
215 bool* end_of_sequence) override { in GetNextInternal() argument
222 Status s = input_impl_->GetNext(ctx, out_tensors, end_of_sequence); in GetNextInternal()
223 if (first_call_ && *end_of_sequence) { in GetNextInternal()
[all …]
Dbatch_dataset_op.cc134 bool* end_of_sequence) override { in GetNextInternal() argument
141 *end_of_sequence = true; in GetNextInternal()
145 *end_of_sequence = false; in GetNextInternal()
146 for (int i = 0; i < dataset()->batch_size_ && !*end_of_sequence; in GetNextInternal()
150 end_of_sequence)); in GetNextInternal()
151 if (!*end_of_sequence) { in GetNextInternal()
160 DCHECK(*end_of_sequence); in GetNextInternal()
166 *end_of_sequence = true; in GetNextInternal()
210 *end_of_sequence = false; in GetNextInternal()
Dskip_dataset_op.cc98 bool* end_of_sequence) override { in GetNextInternal() argument
99 *end_of_sequence = true; in GetNextInternal()
131 bool* end_of_sequence) override { in GetNextInternal() argument
135 *end_of_sequence = true; in GetNextInternal()
146 input_impl_->GetNext(ctx, &dummy_out_tensors, end_of_sequence)); in GetNextInternal()
147 if (*end_of_sequence) { in GetNextInternal()
158 input_impl_->GetNext(ctx, out_tensors, end_of_sequence)); in GetNextInternal()
159 if (*end_of_sequence) { in GetNextInternal()
Dtake_dataset_op.cc47 bool* end_of_sequence) override { in GetNextInternal() argument
48 *end_of_sequence = true; in GetNextInternal()
79 bool* end_of_sequence) override { in GetNextInternal() argument
82 *end_of_sequence = true; in GetNextInternal()
87 input_impl_->GetNext(ctx, out_tensors, end_of_sequence)); in GetNextInternal()
88 if (!*end_of_sequence) { in GetNextInternal()
94 *end_of_sequence = true; in GetNextInternal()
Dpadded_batch_dataset_op.cc224 bool* end_of_sequence) override { in GetNextInternal() argument
231 *end_of_sequence = true; in GetNextInternal()
234 *end_of_sequence = false; in GetNextInternal()
236 for (int i = 0; i < dataset()->batch_size_ && !*end_of_sequence; in GetNextInternal()
240 end_of_sequence)); in GetNextInternal()
241 if (!*end_of_sequence) { in GetNextInternal()
245 if (*end_of_sequence) { in GetNextInternal()
252 DCHECK(*end_of_sequence); in GetNextInternal()
258 *end_of_sequence = true; in GetNextInternal()
344 *end_of_sequence = false; in GetNextInternal()
Dconcatenate_dataset_op_test.cc187 bool end_of_sequence = false; in TEST_P() local
189 while (!end_of_sequence) { in TEST_P()
191 &end_of_sequence)); in TEST_P()
192 if (!end_of_sequence) { in TEST_P()
314 bool end_of_sequence = false; in TEST_P() local
328 &end_of_sequence)); in TEST_P()
329 if (!end_of_sequence) { in TEST_P()
340 EXPECT_TRUE(end_of_sequence); in TEST_P()
343 EXPECT_FALSE(end_of_sequence); in TEST_P()
Dfilter_by_component_dataset_op.cc112 bool* end_of_sequence) override { in GetNextInternal() argument
121 *end_of_sequence = true; in GetNextInternal()
125 input_impl_->GetNext(ctx, out_tensors, end_of_sequence)); in GetNextInternal()
127 if (*end_of_sequence) { in GetNextInternal()
140 *end_of_sequence = false; in GetNextInternal()
Dzip_dataset_op_test.cc172 bool end_of_sequence = false; in TEST_P() local
174 while (!end_of_sequence) { in TEST_P()
176 &end_of_sequence)); in TEST_P()
177 if (!end_of_sequence) { in TEST_P()
314 bool end_of_sequence = false; in TEST_P() local
327 &end_of_sequence)); in TEST_P()
328 if (!end_of_sequence) { in TEST_P()
339 EXPECT_TRUE(end_of_sequence); in TEST_P()
342 EXPECT_FALSE(end_of_sequence); in TEST_P()
Dprefetch_dataset_op.cc107 bool* end_of_sequence) override { in GetNextInternal() argument
128 return Consume(ctx, out_tensors, end_of_sequence); in GetNextInternal()
132 *end_of_sequence = true; in GetNextInternal()
149 return input_impl_->GetNext(ctx, out_tensors, end_of_sequence); in GetNextInternal()
232 bool* end_of_sequence) EXCLUSIVE_LOCKS_REQUIRED(mu_) { in Consume() argument
255 *end_of_sequence = false; in Consume()
306 bool end_of_sequence; in PrefetchThread() local
309 ctx.get(), &buffer_element.value, &end_of_sequence); in PrefetchThread()
310 if (buffer_element.status.ok() && end_of_sequence) { in PrefetchThread()
Dcache_dataset_ops.cc133 bool* end_of_sequence) override { in GetNextInternal() argument
135 return iterator_->GetNext(ctx, out_tensors, end_of_sequence); in GetNextInternal()
213 bool* end_of_sequence) override { in GetNextInternal() argument
229 input_impl_->GetNext(ctx, out_tensors, end_of_sequence)); in GetNextInternal()
230 if (*end_of_sequence && out_tensors->empty()) { in GetNextInternal()
247 if (*end_of_sequence) { in GetNextInternal()
449 bool* end_of_sequence) override { in GetNextInternal() argument
451 *end_of_sequence = false; in GetNextInternal()
474 *end_of_sequence = true; in GetNextInternal()
718 bool* end_of_sequence) override { in GetNextInternal() argument
[all …]
Dzip_dataset_op.cc128 bool* end_of_sequence) override { in GetNextInternal() argument
131 *end_of_sequence = true; in GetNextInternal()
139 input_impl->GetNext(ctx, &input_tensors, end_of_sequence)); in GetNextInternal()
140 if (*end_of_sequence) { in GetNextInternal()
146 if (*end_of_sequence) { in GetNextInternal()
Dconcatenate_dataset_op.cc121 bool* end_of_sequence) override { in GetNextInternal() argument
124 *end_of_sequence = true; in GetNextInternal()
129 input_impl_->GetNext(ctx, out_tensors, end_of_sequence)); in GetNextInternal()
130 if (!*end_of_sequence) { in GetNextInternal()
138 *end_of_sequence = true; in GetNextInternal()
Drepeat_dataset_op_test.cc165 bool end_of_sequence = false; in TEST_P() local
172 &end_of_sequence)); in TEST_P()
184 EXPECT_FALSE(end_of_sequence); in TEST_P()
186 while (!end_of_sequence) { in TEST_P()
188 &end_of_sequence)); in TEST_P()
189 if (!end_of_sequence) { in TEST_P()
511 bool end_of_sequence = repeat_dataset->Cardinality() == 0; in TEST_P() local
525 &end_of_sequence)); in TEST_P()
526 if (!end_of_sequence) { in TEST_P()
542 EXPECT_FALSE(end_of_sequence); in TEST_P()
[all …]
Dwindow_dataset_op.cc144 bool* end_of_sequence) override { in GetNextInternal() argument
153 *end_of_sequence = true; in GetNextInternal()
160 *end_of_sequence = false; in GetNextInternal()
162 i < target_size && !*end_of_sequence; ++i) { in GetNextInternal()
165 input_impl_->GetNext(ctx, &element, end_of_sequence); in GetNextInternal()
166 if (!*end_of_sequence) { in GetNextInternal()
179 DCHECK(*end_of_sequence); in GetNextInternal()
224 *end_of_sequence = false; in GetNextInternal()
Diterator_ops.cc71 bool* end_of_sequence) { in GetNext() argument
85 IteratorContext(std::move(params)), out_tensors, end_of_sequence); in GetNext()
95 bool* end_of_sequence) { in GetNext() argument
96 return GetNext(&ctx, out_tensors, end_of_sequence); in GetNext()
602 bool end_of_sequence = false; in ComputeAsync() local
605 raw_iterator->GetNext(&iter_ctx, &components, &end_of_sequence); in ComputeAsync()
610 if (end_of_sequence) { in ComputeAsync()
621 raw_iterator->GetNext(&iter_ctx, &components, &end_of_sequence); in ComputeAsync()
626 if (!end_of_sequence) { in ComputeAsync()
957 bool end_of_sequence = false; in ComputeAsync() local
[all …]
Dshard_dataset_op.cc122 bool* end_of_sequence) override { in GetNextInternal() argument
126 *end_of_sequence = true; in GetNextInternal()
134 input_impl_->GetNext(ctx, &result, end_of_sequence)); in GetNextInternal()
135 if (*end_of_sequence) { in GetNextInternal()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dtake_while_dataset_op.cc59 const std::vector<Tensor>& args, bool* end_of_sequence) { in MakeDataset() argument
69 *end_of_sequence = !result[0].scalar<bool>()(); in MakeDataset()
77 const std::vector<Tensor>& args, bool* end_of_sequence) { in MakeDataset() argument
83 *end_of_sequence = !predicate.scalar<bool>()(); in MakeDataset()
183 bool* end_of_sequence) override { in GetNextInternal() argument
187 *end_of_sequence = true; in GetNextInternal()
191 input_impl_->GetNext(ctx, out_tensors, end_of_sequence)); in GetNextInternal()
193 if (*end_of_sequence) { in GetNextInternal()
199 end_of_sequence); in GetNextInternal()
Dunbatch_dataset_op.cc99 bool* end_of_sequence) override { in GetNextInternal() argument
102 *end_of_sequence = true; in GetNextInternal()
105 *end_of_sequence = false; in GetNextInternal()
106 while (!*end_of_sequence) { in GetNextInternal()
117 *end_of_sequence = false; in GetNextInternal()
124 input_impl_->GetNext(ctx, &tensors_, end_of_sequence)); in GetNextInternal()
125 if (!*end_of_sequence) { in GetNextInternal()
Dignore_errors_dataset_op.cc87 bool* end_of_sequence) override { in GetNextInternal() argument
91 *end_of_sequence = true; in GetNextInternal()
94 Status s = input_impl_->GetNext(ctx, out_tensors, end_of_sequence); in GetNextInternal()
97 s = input_impl_->GetNext(ctx, out_tensors, end_of_sequence); in GetNextInternal()
100 if (*end_of_sequence) { in GetNextInternal()
Dsliding_window_dataset_op.cc143 bool* end_of_sequence) override { in GetNextInternal() argument
151 *end_of_sequence = true; in GetNextInternal()
158 *end_of_sequence = false; in GetNextInternal()
159 for (size_t i = buffer_.size(); i < target_size && !*end_of_sequence; in GetNextInternal()
163 input_impl_->GetNext(ctx, &element, end_of_sequence)); in GetNextInternal()
164 if (!*end_of_sequence) { in GetNextInternal()
173 DCHECK(*end_of_sequence); in GetNextInternal()
228 *end_of_sequence = false; in GetNextInternal()
Dto_tf_record_op.cc83 bool end_of_sequence; in ComputeAsync() local
86 ctx, iterator->GetNext(&iter_ctx, &components, &end_of_sequence), in ComputeAsync()
89 if (!end_of_sequence) { in ComputeAsync()
94 } while (!end_of_sequence); in ComputeAsync()
Dparallel_interleave_dataset_op.cc265 bool* end_of_sequence) override { in GetNextInternal() argument
299 *end_of_sequence = false; in GetNextInternal()
348 *end_of_sequence = true; in GetNextInternal()
568 bool end_of_sequence = false; member
744 bool end_of_sequence = false; in WorkerThread() local
745 while (!end_of_sequence) { in WorkerThread()
753 !worker_thread_states_[thread_index].end_of_sequence) { in WorkerThread()
759 &worker_thread_states_[thread_index].end_of_sequence); in WorkerThread()
760 end_of_sequence = in WorkerThread()
761 worker_thread_states_[thread_index].end_of_sequence; in WorkerThread()
[all …]
Dstats_dataset_ops.cc104 bool* end_of_sequence) override { in GetNextInternal() argument
107 Status s = input_impl_->GetNext(ctx, out_tensors, end_of_sequence); in GetNextInternal()
110 if (stats_aggregator && !*end_of_sequence) { in GetNextInternal()
214 bool* end_of_sequence) override { in GetNextInternal() argument
216 Status s = input_impl_->GetNext(ctx, out_tensors, end_of_sequence); in GetNextInternal()
218 if (stats_aggregator && s.ok() && !*end_of_sequence) { in GetNextInternal()
Ddense_to_sparse_batch_dataset_op.cc158 bool* end_of_sequence) override { in GetNextInternal() argument
183 *end_of_sequence = false; in GetNextInternal()
186 !*end_of_sequence; in GetNextInternal()
190 end_of_sequence)); in GetNextInternal()
191 if (!*end_of_sequence) { in GetNextInternal()
225 DCHECK(*end_of_sequence); in GetNextInternal()
278 *end_of_sequence = false; in GetNextInternal()
Ddirected_interleave_dataset_op.cc153 bool* end_of_sequence) override { in GetNextInternal() argument
156 *end_of_sequence = true; in GetNextInternal()
162 *end_of_sequence = false; in GetNextInternal()
164 ctx, &selector_result, end_of_sequence)); in GetNextInternal()
165 if (*end_of_sequence) { in GetNextInternal()
194 *end_of_sequence = true; in GetNextInternal()

1234