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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load("//tensorflow:tensorflow.bzl", "py_test")
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
],
),
visibility = ["//tensorflow:__subpackages__"],
)
py_library(
name = "operators",
srcs = [
"__init__.py",
"control_flow.py",
"data_structures.py",
"exceptions.py",
"py_builtins.py",
"slices.py",
],
srcs_version = "PY2AND3",
visibility = ["//tensorflow:__subpackages__"],
deps = [
"//tensorflow/python:array_ops",
"//tensorflow/python:constant_op",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:dtypes",
"//tensorflow/python:framework_ops",
"//tensorflow/python:list_ops",
"//tensorflow/python:tensor_array_ops",
"//tensorflow/python:tensor_util",
"//tensorflow/python:variables",
"//tensorflow/python/autograph/utils",
"//tensorflow/python/data/ops:dataset_ops",
],
)
py_test(
name = "data_structures_test",
srcs = ["data_structures_test.py"],
srcs_version = "PY2AND3",
deps = [
":operators",
"//tensorflow/python:client_testlib",
],
)
py_test(
name = "control_flow_test",
srcs = ["control_flow_test.py"],
srcs_version = "PY2AND3",
deps = [
":operators",
"//tensorflow/python:client_testlib",
],
)
py_test(
name = "exceptions_test",
srcs = ["exceptions_test.py"],
srcs_version = "PY2AND3",
deps = [
":operators",
"//tensorflow/python:client_testlib",
],
)
py_test(
name = "py_builtins_test",
srcs = ["py_builtins_test.py"],
srcs_version = "PY2AND3",
tags = ["no_windows"],
deps = [
":operators",
"//tensorflow/python:client_testlib",
],
)
py_test(
name = "slices_test",
srcs = ["slices_test.py"],
srcs_version = "PY2AND3",
deps = [
":operators",
"//tensorflow/python:client_testlib",
],
)
|