diff options
author | Nupur Garg <nupurgarg@google.com> | 2018-05-24 10:53:28 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-05-24 10:57:39 -0700 |
commit | d9b764d72aa8e1f7959c396762d2054ee9d87cab (patch) | |
tree | 0ccd4e152d78c86f276dfe19f243b1d7a9a618de /tensorflow/contrib/lite/python/BUILD | |
parent | f286fb4557ab48f38882bc643ccc9a2c85677c63 (diff) |
Improve TOCO Python API.
PiperOrigin-RevId: 197918102
Diffstat (limited to 'tensorflow/contrib/lite/python/BUILD')
-rw-r--r-- | tensorflow/contrib/lite/python/BUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/tensorflow/contrib/lite/python/BUILD b/tensorflow/contrib/lite/python/BUILD index 4920e83970..17c11ab0f9 100644 --- a/tensorflow/contrib/lite/python/BUILD +++ b/tensorflow/contrib/lite/python/BUILD @@ -45,7 +45,21 @@ py_library( ":convert", ":convert_saved_model", ":interpreter", + ":lite_constants", ":op_hint", + "//tensorflow/contrib/saved_model:saved_model_py", + "//tensorflow/python:graph_util", + "//tensorflow/python/tools:freeze_graph_lib", + ], +) + +py_test( + name = "lite_test", + srcs = ["lite_test.py"], + data = [":interpreter_test_data"], + srcs_version = "PY2AND3", + deps = [ + ":lite", ], ) @@ -110,10 +124,9 @@ py_library( srcs_version = "PY2AND3", visibility = ["//visibility:public"], deps = [ - ":convert", - ":lite_constants", "//tensorflow/contrib/saved_model:saved_model_py", "//tensorflow/python:graph_util", + "//tensorflow/python:platform", "//tensorflow/python/tools:freeze_graph_lib", ], ) @@ -151,15 +164,6 @@ py_test( ], ) -py_binary( - name = "convert_saved_model_to_frozen_graph", - srcs = ["convert_saved_model_to_frozen_graph.py"], - srcs_version = "PY2AND3", - deps = [ - ":convert_saved_model", - ], -) - # Transitive dependencies of this target will be included in the pip package. py_library( name = "tf_lite_py_pip", |