diff options
author | A. Unique TensorFlower <nobody@tensorflow.org> | 2016-05-05 20:09:53 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-05-05 21:11:42 -0700 |
commit | 94d27b6852b3e331fd9d64a0533f0fc27af05bfd (patch) | |
tree | 67af3a58ddb4e44b04c8f7a1d2819c9b824be4af /tensorflow/python/tensorflow.i | |
parent | 7cddb41a31650ec57cc2110bfd9f2a8eb9b42613 (diff) |
Next pass at converting all return statuses to errors.OpError exceptions
in Python.
- Add a tf_status util file to convert between Status and TF_Status.
- Use TF_Status for the swigged APIs in session, checkpoint_reader, and server_lib.
- Converts all these tf_status to exceptions in Python with the new context handler.
- Remove the old StatusNotOK exception.
Change: 121644982
Diffstat (limited to 'tensorflow/python/tensorflow.i')
-rw-r--r-- | tensorflow/python/tensorflow.i | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tensorflow/python/tensorflow.i b/tensorflow/python/tensorflow.i index be333d3025..923c52e4dc 100644 --- a/tensorflow/python/tensorflow.i +++ b/tensorflow/python/tensorflow.i @@ -21,8 +21,6 @@ limitations under the License. %include "tensorflow/python/util/py_checkpoint_reader.i" %include "tensorflow/python/lib/core/py_func.i" -%include "tensorflow/python/lib/core/status.i" -%include "tensorflow/python/lib/core/status_helper.i" %include "tensorflow/python/lib/io/py_record_reader.i" %include "tensorflow/python/lib/io/py_record_writer.i" |