| # Definitions are loaded separately so that copybara can pattern match (and modify) each definition. |
| load("//tensorflow:tensorflow.bzl", "cuda_py_test") # buildifier: disable=same-origin-load |
| load("//tensorflow:tensorflow.bzl", "tf_py_test") # buildifier: disable=same-origin-load |
| |
| package( |
| default_visibility = ["//tensorflow:internal"], |
| licenses = ["notice"], # Apache 2.0 |
| ) |
| |
| exports_files(["LICENSE"]) |
| |
| tf_py_test( |
| name = "autotune_buffer_sizes_test", |
| size = "small", |
| srcs = ["autotune_buffer_sizes_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:errors", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "choose_fastest_branch_dataset_test", |
| size = "medium", |
| srcs = ["choose_fastest_branch_dataset_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python/data/experimental/ops:optimization", |
| "//tensorflow/python/data/kernel_tests:checkpoint_test_base", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "choose_fastest_dataset_test", |
| size = "small", |
| srcs = ["choose_fastest_dataset_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:errors", |
| "//tensorflow/python/data/experimental/ops:optimization", |
| "//tensorflow/python/data/kernel_tests:checkpoint_test_base", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "filter_fusion_test", |
| size = "medium", |
| srcs = ["filter_fusion_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "filter_with_random_uniform_fusion_test", |
| size = "medium", |
| srcs = ["filter_with_random_uniform_fusion_test.py"], |
| tags = [ |
| "manual", |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| "notap", # TODO(b/131229793) |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| cuda_py_test( |
| name = "grappler_test", |
| size = "medium", |
| srcs = ["grappler_test.py"], |
| deps = [ |
| "//tensorflow/core:protos_all_py", |
| "//tensorflow/python:array_ops", |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:control_flow_ops", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python:nn_ops", |
| "//tensorflow/python:parsing_ops", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "hoist_random_uniform_test", |
| size = "small", |
| srcs = ["hoist_random_uniform_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:control_flow_ops", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:framework_ops", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python:random_ops", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "latency_all_edges_test", |
| size = "small", |
| srcs = ["latency_all_edges_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:errors", |
| "//tensorflow/python/data/experimental/kernel_tests:stats_dataset_test_base", |
| "//tensorflow/python/data/experimental/ops:stats_aggregator", |
| "//tensorflow/python/data/experimental/ops:stats_ops", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/ops:dataset_ops", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "map_and_batch_fusion_test", |
| srcs = ["map_and_batch_fusion_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:errors", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "map_and_filter_fusion_test", |
| srcs = ["map_and_filter_fusion_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "map_fusion_test", |
| srcs = ["map_fusion_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:errors", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "map_parallelization_test", |
| size = "small", |
| srcs = ["map_parallelization_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:control_flow_ops", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:framework_ops", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python:random_ops", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "map_vectorization_test", |
| size = "small", |
| srcs = ["map_vectorization_test.py"], |
| shard_count = 16, |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| "noasan", # TODO(b/337374867) fails with -fsanitize=null |
| ], |
| deps = [ |
| "//tensorflow/core:protos_all_py", |
| "//tensorflow/python:array_ops", |
| "//tensorflow/python:bitwise_ops", |
| "//tensorflow/python:check_ops", |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:clip_ops", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:control_flow_ops", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:framework_ops", |
| "//tensorflow/python:framework_test_lib", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python:nn", |
| "//tensorflow/python:parsing_ops", |
| "//tensorflow/python:sparse_tensor", |
| "//tensorflow/python/data/experimental/ops:batching", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| "//third_party/py/numpy", |
| "@absl_py//absl/testing:parameterized", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "noop_elimination_test", |
| size = "small", |
| srcs = ["noop_elimination_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:constant_op", |
| "//tensorflow/python:dtypes", |
| "//tensorflow/python:errors", |
| "//tensorflow/python:math_ops", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "reorder_data_discarding_ops_test", |
| size = "small", |
| srcs = ["reorder_data_discarding_ops_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:errors", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| ], |
| ) |
| |
| tf_py_test( |
| name = "shuffle_and_repeat_fusion_test", |
| srcs = ["shuffle_and_repeat_fusion_test.py"], |
| tags = [ |
| "no_oss", |
| "no_pip", |
| "no_windows", |
| ], |
| deps = [ |
| "//tensorflow/python:client_testlib", |
| "//tensorflow/python:errors", |
| "//tensorflow/python/data/experimental/ops:optimization_options", |
| "//tensorflow/python/data/experimental/ops:testing", |
| "//tensorflow/python/data/kernel_tests:test_base", |
| "//tensorflow/python/data/ops:dataset_ops", |
| ], |
| ) |