Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/data/
Dsplit_utils_test.cc46 bool end_of_splits = false; in CheckOutput() local
47 while (!end_of_splits) { in CheckOutput()
49 TF_RETURN_IF_ERROR(split_provider->GetNext(&split, &end_of_splits)); in CheckOutput()
50 if (!end_of_splits) { in CheckOutput()
84 bool end_of_splits = true; in TEST() local
85 TF_ASSERT_OK(split_provider.GetNext(&split, &end_of_splits)); in TEST()
86 EXPECT_FALSE(end_of_splits); in TEST()
91 bool end_of_splits = false; in TEST() local
92 TF_ASSERT_OK(split_provider.GetNext(&split, &end_of_splits)); in TEST()
93 EXPECT_TRUE(end_of_splits); in TEST()
[all …]
Dsplit_utils.cc34 Status IndexSplitProvider::GetNext(Tensor* split, bool* end_of_splits) { in GetNext() argument
37 *end_of_splits = true; in GetNext()
40 *end_of_splits = false; in GetNext()
74 Status ShardingSplitProvider::GetNext(Tensor* split, bool* end_of_splits) { in GetNext() argument
77 TF_RETURN_IF_ERROR(split_provider_->GetNext(split, end_of_splits)); in GetNext()
78 if (*end_of_splits) { in GetNext()
84 TF_RETURN_IF_ERROR(split_provider_->GetNext(split, end_of_splits)); in GetNext()
Dsplit_utils.h32 Status GetNext(Tensor* split, bool* end_of_splits) override;
52 Status GetNext(Tensor* split, bool* end_of_splits) override;
/external/tensorflow/tensorflow/core/data/service/
Dsplit_provider.cc33 Status DataServiceSplitProvider::GetNext(Tensor* split, bool* end_of_splits) { in GetNext() argument
40 [this, split, end_of_splits] { in GetNext()
43 *end_of_splits); in GetNext()
48 if (*end_of_splits) { in GetNext()
Ddispatcher_client.cc96 bool& end_of_splits) { in GetSplit() argument
108 end_of_splits = resp.end_of_splits(); in GetSplit()
109 if (!end_of_splits) { in GetSplit()
Dsplit_provider.h44 Status GetNext(Tensor* split, bool* end_of_splits) override;
Ddispatcher_client.h66 bool& end_of_splits);
Ddispatcher_impl.cc438 bool end_of_splits = false; in GetSplit() local
439 TF_RETURN_IF_ERROR(split_provider->GetNext(&split, &end_of_splits)); in GetSplit()
442 end_of_splits)); in GetSplit()
443 response->set_end_of_splits(end_of_splits); in GetSplit()
444 if (end_of_splits) { in GetSplit()
450 VLOG(3) << "Returning from GetSplit, end_of_splits=" << end_of_splits; in GetSplit()
Ddispatcher.proto62 bool end_of_splits = 2; field
/external/tensorflow/tensorflow/core/kernels/data/
Dtensor_dataset_op.cc137 bool end_of_splits; in GetNextInternal() local
139 TF_RETURN_IF_ERROR(split_provider_->GetNext(&split, &end_of_splits)); in GetNextInternal()
140 if (end_of_splits) { in GetNextInternal()
Drange_dataset_op.cc120 Status GetNext(Tensor* split, bool* end_of_splits) override { in GetNext() argument
121 int64_t next = counter_.GetNext(end_of_splits); in GetNext()
122 if (*end_of_splits) { in GetNext()
/external/tensorflow/tensorflow/core/framework/
Ddataset.h367 virtual Status GetNext(Tensor* split, bool* end_of_splits) = 0;