1 # Description: 2 # contains parts of TensorFlow that are experimental or unstable and which are not supported. 3 4 licenses(["notice"]) # Apache 2.0 5 6 exports_files(["LICENSE"]) 7 8 package(default_visibility = ["//visibility:public"]) 9 10 load( 11 "//tensorflow:tensorflow.bzl", 12 "tf_gen_op_wrapper_py", 13 "tf_custom_op_library", 14 ) 15 16 py_library( 17 name = "quantization_py", 18 srcs = [ 19 "__init__.py", 20 "python/__init__.py", 21 ], 22 srcs_version = "PY2AND3", 23 deps = [ 24 ":ops", 25 "//tensorflow/python:array_ops_gen", 26 ], 27 ) 28 29 py_library( 30 name = "ops", 31 srcs = [ 32 "python/array_ops.py", 33 "python/math_ops.py", 34 "python/nn_ops.py", 35 ], 36 srcs_version = "PY2AND3", 37 deps = [ 38 "//tensorflow/python:array_ops_gen", 39 "//tensorflow/python:common_shapes", 40 "//tensorflow/python:framework_for_generated_wrappers", 41 "//tensorflow/python:math_ops_gen", 42 "//tensorflow/python:nn_ops_gen", 43 ], 44 ) 45 46 filegroup( 47 name = "py_srcs", 48 data = glob([ 49 "**/*.py", 50 ]), 51 ) 52 53 filegroup( 54 name = "all_files", 55 srcs = glob( 56 ["**/*"], 57 exclude = [ 58 "**/METADATA", 59 "**/OWNERS", 60 ], 61 ), 62 visibility = ["//tensorflow:__subpackages__"], 63 ) 64