aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/python/BUILD
diff options
context:
space:
mode:
authorGravatar Andrew Selle <aselle@google.com>2018-07-11 10:38:07 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-11 10:47:27 -0700
commita13948083e6a8100379cf02afecb8f37ce33f40a (patch)
treed4f59d98d0f60d650566c249a15f6b9a45a6f9e9 /tensorflow/contrib/lite/python/BUILD
parent77c25879baac86de114fd77eb753085eaa01b00e (diff)
Improve error handling and usability of Python interpreter
- Break dependency on tensorflow platform and logging and absl - Propagate exceptions that capture the TensorFlow lite errors in a buffer. PiperOrigin-RevId: 204148724
Diffstat (limited to 'tensorflow/contrib/lite/python/BUILD')
-rw-r--r--tensorflow/contrib/lite/python/BUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/contrib/lite/python/BUILD b/tensorflow/contrib/lite/python/BUILD
index 27909a9458..8c9608db04 100644
--- a/tensorflow/contrib/lite/python/BUILD
+++ b/tensorflow/contrib/lite/python/BUILD
@@ -19,6 +19,7 @@ py_library(
visibility = ["//visibility:public"],
deps = [
"//tensorflow/contrib/lite/python/interpreter_wrapper:tensorflow_wrap_interpreter_wrapper",
+ "//tensorflow/python:util",
],
)
@@ -30,9 +31,10 @@ py_test(
tags = ["no_oss"],
deps = [
":interpreter",
- "//tensorflow/python:array_ops",
"//tensorflow/python:client_testlib",
- "//tensorflow/python:platform_test",
+ "//tensorflow/python:framework_test_lib",
+ "//tensorflow/python:platform",
+ "//third_party/py/numpy",
],
)