File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ py_library(
8080 ":training" ,
8181 ":ops" ,
8282 ":saver_test_utils" ,
83+ ":subscribe" ,
8384 ":test_ops" , # TODO: Break testing code out into separate rule.
8485 ":util" ,
8586 ":weights_broadcast_ops" ,
@@ -403,6 +404,18 @@ py_library(
403404 ],
404405)
405406
407+ py_library (
408+ name = "subscribe" ,
409+ srcs = ["framework/subscribe.py" ],
410+ srcs_version = "PY2AND3" ,
411+ deps = [
412+ ":array_ops" ,
413+ ":framework_ops" ,
414+ ":platform" ,
415+ ":variables" ,
416+ ],
417+ )
418+
406419py_library (
407420 name = "framework" ,
408421 srcs = [
@@ -411,7 +424,6 @@ py_library(
411424 "framework/importer.py" ,
412425 "framework/load_library.py" ,
413426 "framework/meta_graph.py" ,
414- "framework/subscribe.py" ,
415427 ],
416428 srcs_version = "PY2AND3" ,
417429 deps = [
@@ -729,6 +741,7 @@ py_test(
729741 ":math_ops" ,
730742 ":platform_test" ,
731743 ":script_ops" ,
744+ ":subscribe" ,
732745 ],
733746)
734747
Original file line number Diff line number Diff line change 114114from tensorflow .python .client import client_lib
115115from tensorflow .python .framework import constant_op
116116from tensorflow .python .framework import framework_lib
117+ from tensorflow .python .framework import subscribe
117118from tensorflow .python .ops import array_ops
118119from tensorflow .python .ops import check_ops
119120from tensorflow .python .ops import confusion_matrix as confusion_matrix_m
Original file line number Diff line number Diff line change 9999from tensorflow .python .framework .random_seed import get_seed
100100from tensorflow .python .framework .random_seed import set_random_seed
101101from tensorflow .python .framework .sparse_tensor import convert_to_tensor_or_sparse_tensor
102- from tensorflow .python .framework .subscribe import subscribe
103102from tensorflow .python .framework .importer import import_graph_def
104103
105104# Utilities for working with Tensors
You can’t perform that action at this time.
0 commit comments