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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
package(default_visibility = ["//tensorflow:internal"])
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
load(
"//tensorflow:tensorflow.bzl",
"tf_gen_op_wrapper_py",
"tf_kernel_library",
)
load("//tensorflow:tensorflow.bzl", "tf_custom_op_py_library")
py_library(
name = "dataset_ops",
srcs = [
"counter.py",
"get_single_element.py",
],
srcs_version = "PY2AND3",
deps = [
":transformation_ops",
"//tensorflow/python:dataset_ops_gen",
"//tensorflow/python:util",
"//tensorflow/python/data/ops:dataset_ops",
"//tensorflow/python/data/util:nest",
],
)
py_library(
name = "iterator_ops",
srcs = [
"iterator_ops.py",
],
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:dataset_ops_gen",
"//tensorflow/python:framework_ops",
"//tensorflow/python:training",
],
)
py_library(
name = "random_ops",
srcs = [
"random_ops.py",
],
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:constant_op",
"//tensorflow/python:dataset_ops_gen",
"//tensorflow/python:dtypes",
"//tensorflow/python:framework_ops",
"//tensorflow/python:random_seed",
"//tensorflow/python:tensor_shape",
"//tensorflow/python/data/ops:dataset_ops",
"//tensorflow/python/data/util:nest",
"//tensorflow/python/data/util:sparse",
],
)
py_library(
name = "readers",
srcs = [
"readers.py",
],
srcs_version = "PY2AND3",
deps = [
":dataset_ops",
":shuffle_ops",
"//tensorflow/python:constant_op",
"//tensorflow/python:dataset_ops_gen",
"//tensorflow/python:dtypes",
"//tensorflow/python:framework_ops",
"//tensorflow/python:parsing_ops",
"//tensorflow/python:platform",
"//tensorflow/python:sparse_tensor",
"//tensorflow/python:tensor_shape",
"//tensorflow/python:util",
"//tensorflow/python/data/ops:dataset_ops",
"//tensorflow/python/data/ops:readers",
"//tensorflow/python/data/util:nest",
],
)
py_library(
name = "shuffle_ops",
srcs = [
"shuffle_ops.py",
],
srcs_version = "PY2AND3",
deps = [
":random_ops",
":transformation_ops",
"//tensorflow/python/data/ops:dataset_ops",
],
)
py_library(
name = "transformation_ops",
srcs = [
"batching.py",
"enumerate_ops.py",
"error_ops.py",
"grouping.py",
"interleave_ops.py",
"resampling.py",
"scan_ops.py",
"stats_ops.py",
"threadpool.py",
"unique.py",
],
srcs_version = "PY2AND3",
deps = [
":contrib_op_loader",
":gen_dataset_ops",
"//tensorflow/python:array_ops",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:dataset_ops_gen",
"//tensorflow/python:dtypes",
"//tensorflow/python:framework_ops",
"//tensorflow/python:function",
"//tensorflow/python:logging_ops",
"//tensorflow/python:math_ops",
"//tensorflow/python:random_ops",
"//tensorflow/python:resource_variable_ops",
"//tensorflow/python:tensor_shape",
"//tensorflow/python:tensor_util",
"//tensorflow/python:util",
"//tensorflow/python/data/ops:dataset_ops",
"//tensorflow/python/data/ops:readers",
"//tensorflow/python/data/util:convert",
"//tensorflow/python/data/util:nest",
"//tensorflow/python/data/util:sparse",
"//third_party/py/numpy",
],
)
tf_gen_op_wrapper_py(
name = "gen_dataset_ops",
out = "gen_dataset_ops.py",
deps = ["//tensorflow/contrib/data:dataset_ops_op_lib"],
)
tf_kernel_library(
name = "dataset_ops_kernels",
deps = [
"//tensorflow/contrib/data/kernels:dataset_kernels",
"//tensorflow/core:framework",
],
alwayslink = 1,
)
tf_custom_op_py_library(
name = "contrib_op_loader",
srcs = ["contrib_op_loader.py"],
dso = ["//tensorflow/contrib/data:_dataset_ops.so"],
kernels = [
":dataset_ops_kernels",
"//tensorflow/contrib/data:dataset_ops_op_lib",
],
srcs_version = "PY2AND3",
deps = [
":gen_dataset_ops",
"//tensorflow/contrib/util:util_py",
"//tensorflow/python:platform",
],
)
py_library(
name = "prefetching_ops",
srcs = ["prefetching_ops.py"],
deps = [
":contrib_op_loader",
],
)
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
],
),
visibility = ["//tensorflow:__subpackages__"],
)
|