Home
last modified time | relevance | path

Searched refs:drop_remainder_ (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/
Dbatch_dataset_op.cc60 drop_remainder_(drop_remainder), in Dataset()
77 if (drop_remainder_ || input_->Cardinality() == kInfiniteCardinality) {
117 return n / batch_size_ + (n % batch_size_ == 0 || drop_remainder_ ? 0 : 1); in Cardinality()
138 TF_RETURN_IF_ERROR(b->AddScalar(drop_remainder_, &drop_remainder)); in AsGraphDefInternal()
188 if (dataset()->drop_remainder_ && in GetNextInternal()
248 const bool drop_remainder_; member in tensorflow::data::BatchDatasetOp::Dataset
Dwindow_dataset_op.cc53 drop_remainder_(drop_remainder), in Dataset()
85 drop_remainder_); in DebugString()
95 if (drop_remainder_) { in Cardinality()
130 TF_RETURN_IF_ERROR(b->AddScalar(drop_remainder_, &drop_remainder_node)); in AsGraphDefInternal()
163 (dataset()->drop_remainder_ && buffer_.size() < target_size))) { in GetNextInternal()
188 (dataset()->drop_remainder_ && buffer_.size() < target_size)) { in GetNextInternal()
385 const bool drop_remainder_; member in tensorflow::data::WindowDatasetOp::Dataset
Dpadded_batch_dataset_op.cc57 drop_remainder_(drop_remainder), in Dataset()
79 if (drop_remainder_ || input_->Cardinality() == kInfiniteCardinality) {
119 return n / batch_size_ + (n % batch_size_ == 0 || drop_remainder_ ? 0 : 1); in Cardinality()
161 TF_RETURN_IF_ERROR(b->AddScalar(drop_remainder_, &drop_remainder)); in AsGraphDefInternal()
226 if (dataset()->drop_remainder_ && in GetNextInternal()
384 const bool drop_remainder_; member in tensorflow::data::PaddedBatchDatasetOp::Dataset
Dparallel_batch_dataset_op.cc77 drop_remainder_(drop_remainder), in Dataset()
90 if (drop_remainder_ || input_->Cardinality() == kInfiniteCardinality) {
127 return n / batch_size_ + (n % batch_size_ == 0 || drop_remainder_ ? 0 : 1); in Cardinality()
157 TF_RETURN_IF_ERROR(b->AddScalar(drop_remainder_, &drop_remainder)); in AsGraphDefInternal()
226 dataset()->drop_remainder_, result->status, ctx, in GetNextInternal()
518 const bool drop_remainder_; member in tensorflow::data::ParallelBatchDatasetOp::Dataset
Dparallel_batch_dataset_op_test.cc38 drop_remainder_(drop_remainder) { in ParallelBatchDatasetParams()
51 CreateTensor<bool>(TensorShape({}), {drop_remainder_}); in GetInputTensors()
76 bool drop_remainder_; member in tensorflow::data::__anon213a87dd0111::ParallelBatchDatasetParams
Dwindow_dataset_op_test.cc36 drop_remainder_(drop_remainder) { in WindowDatasetParams()
47 CreateTensor<bool>(TensorShape({}), {drop_remainder_})}; in GetInputTensors()
73 bool drop_remainder_; member in tensorflow::data::__anon5d0c34070111::WindowDatasetParams
Dpadded_batch_dataset_op_test.cc40 drop_remainder_(drop_remainder), in PaddedBatchDatasetParams()
61 CreateTensor<bool>(TensorShape({}), {drop_remainder_})); in GetInputTensors()
99 bool drop_remainder_; member in tensorflow::data::__anonaa3739520111::PaddedBatchDatasetParams
Ddataset_test_base.h216 drop_remainder_(drop_remainder), in BatchDatasetParams()
235 bool drop_remainder_; variable
Ddataset_test_base.cc1013 CreateTensor<bool>(TensorShape({}), {drop_remainder_}); in GetInputTensors()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dmap_and_batch_dataset_op_test.cc38 drop_remainder_(drop_remainder), in MapAndBatchDatasetParams()
54 inputs.emplace_back(CreateTensor<bool>(TensorShape({}), {drop_remainder_})); in GetInputTensors()
93 bool drop_remainder_; member in tensorflow::data::experimental::__anon3550fdfd0111::MapAndBatchDatasetParams
Drebatch_dataset_op.cc320 drop_remainder_(drop_remainder), in Dataset()
362 TF_RETURN_IF_ERROR(b->AddScalar(drop_remainder_, &drop_remainder)); in AsGraphDefInternal()
439 (dataset()->drop_remainder_ && batch_size < desired_batch_size)) { in GetNextInternal()
604 const bool drop_remainder_; member in tensorflow::data::experimental::__anon6916dfc60111::RebatchDatasetV2Op::Dataset
Dmap_and_batch_dataset_op.cc94 drop_remainder_(drop_remainder), in Dataset()
134 return n / batch_size_ + (n % batch_size_ == 0 || drop_remainder_ ? 0 : 1); in Cardinality()
159 TF_RETURN_IF_ERROR(b->AddScalar(drop_remainder_, &drop_remainder_node)); in AsGraphDefInternal()
264 dataset()->drop_remainder_, result->status, ctx, in GetNextInternal()
683 const bool drop_remainder_; member in tensorflow::data::experimental::MapAndBatchDatasetOp::Dataset