Home
last modified time | relevance | path

Searched refs:MatchesAnyVersion (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_utils_test.cc38 TEST(DatasetUtilsTest, MatchesAnyVersion) { in TEST() argument
39 EXPECT_TRUE(MatchesAnyVersion("BatchDataset", "BatchDataset")); in TEST()
40 EXPECT_TRUE(MatchesAnyVersion("BatchDataset", "BatchDatasetV2")); in TEST()
41 EXPECT_TRUE(MatchesAnyVersion("BatchDataset", "BatchDatasetV3")); in TEST()
42 EXPECT_FALSE(MatchesAnyVersion("BatchDataset", "BatchDatasetXV3")); in TEST()
43 EXPECT_FALSE(MatchesAnyVersion("BatchDataset", "BatchV2Dataset")); in TEST()
44 EXPECT_FALSE(MatchesAnyVersion("BatchDataset", "PaddedBatchDataset")); in TEST()
Ddataset_utils.h283 bool MatchesAnyVersion(StringPiece op_prefix, StringPiece op_to_match);
Dhash_utils.cc62 if (MatchesAnyVersion(type, node.op())) { in IsNodeOfType()
Ddataset_utils.cc523 bool MatchesAnyVersion(StringPiece op_prefix, StringPiece op_to_match) { in MatchesAnyVersion() function
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dcompute_batch_size_op.cc68 if (MatchesAnyVersion(dataset_op, node.op())) return true; in IsDatasetNodeOfType()
Dassert_next_dataset_op.cc105 if (!MatchesAnyVersion(dataset()->transformations_[i], in Initialize()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dauto_shard.cc131 if (tensorflow::data::MatchesAnyVersion(/*op_prefix=*/dataset_op_name, in IsDatasetNodeOfType()