diff options
author | Dan Moldovan <mdan@google.com> | 2018-10-10 07:38:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-10 07:42:44 -0700 |
commit | 93226f635c5c108b3b501d8bbcf27e64dec49fb9 (patch) | |
tree | 0a703b3f99168dc3852c9961c874797827064e10 /tensorflow/python/autograph/operators/BUILD | |
parent | e851764c24e5ac5f527a7ce2ce12050edddeb209 (diff) |
Use overloaded operators for the assert statement. This should remove the reliance on importing tensorflow in the generated code.
PiperOrigin-RevId: 216528047
Diffstat (limited to 'tensorflow/python/autograph/operators/BUILD')
-rw-r--r-- | tensorflow/python/autograph/operators/BUILD | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tensorflow/python/autograph/operators/BUILD b/tensorflow/python/autograph/operators/BUILD index a116611b64..f422911377 100644 --- a/tensorflow/python/autograph/operators/BUILD +++ b/tensorflow/python/autograph/operators/BUILD @@ -22,6 +22,7 @@ py_library( "__init__.py", "control_flow.py", "data_structures.py", + "exceptions.py", "py_builtins.py", "slices.py", ], @@ -63,6 +64,16 @@ py_test( ) py_test( + name = "exceptions_test", + srcs = ["exceptions_test.py"], + srcs_version = "PY2AND3", + deps = [ + ":operators", + "//tensorflow/python:client_testlib", + ], +) + +py_test( name = "py_builtins_test", srcs = ["py_builtins_test.py"], srcs_version = "PY2AND3", |