aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/python/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/lite/python/BUILD')
-rw-r--r--tensorflow/contrib/lite/python/BUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/python/BUILD b/tensorflow/contrib/lite/python/BUILD
new file mode 100644
index 0000000000..b4aa032ff8
--- /dev/null
+++ b/tensorflow/contrib/lite/python/BUILD
@@ -0,0 +1,46 @@
+licenses(["notice"]) # Apache 2.0
+
+package(default_visibility = ["//tensorflow:internal"])
+
+load("//tensorflow:tensorflow.bzl", "py_test")
+
+py_library(
+ name = "lite",
+ srcs = ["lite.py"],
+ # data = [
+ # "//tensorflow/contrib/lite/toco/python:toco_from_protos",
+ # ],
+ srcs_version = "PY2AND3",
+ visibility = ["//visibility:public"],
+ deps = [
+ "//tensorflow/contrib/lite/toco:model_flags_proto_py",
+ "//tensorflow/contrib/lite/toco:toco_flags_proto_py",
+ "//tensorflow/contrib/lite/toco/python:tensorflow_wrap_toco",
+ "//tensorflow/python:platform",
+ ],
+)
+
+py_test(
+ name = "lite_test",
+ srcs = ["lite_test.py"],
+ deps = [
+ ":lite",
+ "//tensorflow/python:array_ops",
+ "//tensorflow/python:client_testlib",
+ "//tensorflow/python:dtypes",
+ "//tensorflow/python:platform_test",
+ "//tensorflow/python:session",
+ ],
+)
+
+filegroup(
+ name = "all_files",
+ srcs = glob(
+ ["**/*"],
+ exclude = [
+ "**/METADATA",
+ "**/OWNERS",
+ ],
+ ),
+ visibility = ["//tensorflow:__subpackages__"],
+)