aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/saved_model
diff options
context:
space:
mode:
authorGravatar Nupur Garg <nupurgarg@google.com>2018-04-11 09:34:51 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-04-11 09:44:18 -0700
commitadfbc272ded60a221444423b1fee58551c6445c7 (patch)
treed7125ca8d79b23c9802757fadd816ba781a6b391 /tensorflow/contrib/saved_model
parent0073d1375add58b0493449c356af76aa33455f7d (diff)
Fixing dependencies.
PiperOrigin-RevId: 192461382
Diffstat (limited to 'tensorflow/contrib/saved_model')
-rw-r--r--tensorflow/contrib/saved_model/BUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/tensorflow/contrib/saved_model/BUILD b/tensorflow/contrib/saved_model/BUILD
index e431c464ef..26fd4e2023 100644
--- a/tensorflow/contrib/saved_model/BUILD
+++ b/tensorflow/contrib/saved_model/BUILD
@@ -48,16 +48,14 @@ py_library(
],
)
-py_test(
- name = "reader_test",
- size = "small",
- srcs = ["python/saved_model/reader_test.py"],
+py_library(
+ name = "reader",
+ srcs = ["python/saved_model/reader.py"],
srcs_version = "PY2AND3",
tags = ["no_windows"], # TODO: needs investigation on Windows
- visibility = ["//visibility:private"],
+ visibility = ["//visibility:public"],
deps = [
":saved_model_py",
- "//tensorflow/python:client_testlib",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:lib",
"//tensorflow/python:variables",
@@ -67,6 +65,19 @@ py_test(
)
py_test(
+ name = "reader_test",
+ size = "small",
+ srcs = ["python/saved_model/reader_test.py"],
+ srcs_version = "PY2AND3",
+ tags = ["no_windows"], # TODO: needs investigation on Windows
+ visibility = ["//visibility:private"],
+ deps = [
+ ":reader",
+ "//tensorflow/python:client_testlib",
+ ],
+)
+
+py_test(
name = "signature_def_utils_test",
size = "small",
srcs = ["python/saved_model/signature_def_utils_test.py"],