forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
64 lines (59 loc) · 1.8 KB
/
BUILD
File metadata and controls
64 lines (59 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
load("//tensorflow:tensorflow.default.bzl", "tf_py_test")
package(
# copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
licenses = ["notice"],
)
py_library(
name = "v2_compat",
srcs = ["v2_compat.py"],
srcs_version = "PY3",
visibility = ["//tensorflow:internal"],
deps = [
"//tensorflow/python:control_flow_v2_toggles",
"//tensorflow/python:framework_ops",
"//tensorflow/python:tensor_shape",
"//tensorflow/python:tf2",
"//tensorflow/python:variable_scope",
"//tensorflow/python/data/experimental/ops:counter",
"//tensorflow/python/data/experimental/ops:interleave_ops",
"//tensorflow/python/data/experimental/ops:random_ops",
"//tensorflow/python/data/experimental/ops:readers",
"//tensorflow/python/data/ops:dataset_ops",
"//tensorflow/python/data/ops:readers",
"//tensorflow/python/eager:monitoring",
"//tensorflow/python/util:tf_export",
],
)
py_library(
name = "compat",
srcs = ["compat.py"],
srcs_version = "PY3",
visibility = ["//tensorflow:internal"],
deps = [
"//tensorflow/python:util",
],
)
tf_py_test(
name = "compat_test",
size = "small",
srcs = ["compat_test.py"],
tags = ["nofwdcompat"],
deps = [
":compat",
"//tensorflow/python:client_testlib",
"//tensorflow/python:control_flow_v2_toggles",
"//tensorflow/python:framework_ops",
"//tensorflow/python:tensor_shape",
"//tensorflow/python:variable_scope",
],
)
tf_py_test(
name = "disable_v2_behavior_test",
size = "small",
srcs = ["disable_v2_behavior_test.py"],
deps = [
":v2_compat",
"//tensorflow/python:client_testlib",
"//tensorflow/python:framework",
],
)