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
|
# Description:
# contains parts of TensorFlow that are experimental or unstable and which are not supported.
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE"])
package(default_visibility = ["//visibility:public"])
load(
"//tensorflow:tensorflow.bzl",
"tf_gen_op_wrapper_py",
"tf_custom_op_library",
)
py_library(
name = "quantization_py",
srcs = [
"__init__.py",
"python/__init__.py",
],
srcs_version = "PY2AND3",
deps = [
":ops",
"//tensorflow/python:array_ops_gen",
],
)
py_library(
name = "ops",
srcs = [
"python/array_ops.py",
"python/math_ops.py",
"python/nn_ops.py",
],
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:array_ops_gen",
"//tensorflow/python:common_shapes",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:math_ops_gen",
"//tensorflow/python:nn_ops_gen",
],
)
filegroup(
name = "py_srcs",
data = glob([
"**/*.py",
]),
)
|