Skip to content

Commit

Permalink
Add tests for PrefetchDatasetOp
Browse files Browse the repository at this point in the history
  • Loading branch information
feihugis committed Mar 20, 2019
1 parent 615384b commit 7a4186b
Show file tree
Hide file tree
Showing 2 changed files with 653 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tensorflow/core/kernels/data/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,26 @@ tf_kernel_library(
],
)

tf_cc_test(
name = "prefetch_dataset_op_test",
size = "small",
srcs = ["prefetch_dataset_op_test.cc"],
deps = [
":dataset_test_base",
":dataset_utils",
":iterator_ops",
":prefetch_dataset_op",
":tensor_slice_dataset_op",
"//tensorflow/core:core_cpu_internal",
"//tensorflow/core:dataset_ops_op_lib",
"//tensorflow/core:framework",
"//tensorflow/core:lib_internal",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core:testlib",
],
)

tf_kernel_library(
name = "repeat_dataset_op",
srcs = ["repeat_dataset_op.cc"],
Expand Down

0 comments on commit 7a4186b

Please sign in to comment.