diff options
author | Charles Nicholson <nicholsonc@google.com> | 2017-04-21 10:59:14 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-04-21 12:09:42 -0700 |
commit | 8e5041918f2e709ded94e63fb1779d6bb363becb (patch) | |
tree | 5ec03d51d2e15b1247b68298b2ccd9138075513e /tensorflow/python/__init__.py | |
parent | c3bf39b7a6c3cc41f209ac863c764498b503d4f5 (diff) |
Introduce TFDecorator, a base class for Python TensorFlow decorators. Provides basic introspection and "unwrap" services, allowing tooling code to fully 'understand' the wrapped object.
Change: 153854044
Diffstat (limited to 'tensorflow/python/__init__.py')
-rw-r--r-- | tensorflow/python/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tensorflow/python/__init__.py b/tensorflow/python/__init__.py index d2945adf75..864a96ef34 100644 --- a/tensorflow/python/__init__.py +++ b/tensorflow/python/__init__.py @@ -26,11 +26,9 @@ import tensorflow as tf import ctypes import importlib -import inspect import sys import traceback - # TODO(drpng): write up instructions for editing this file in a doc and point to # the doc instead. # If you want to edit this file to expose modules in public tensorflow API, you @@ -170,7 +168,7 @@ _allowed_symbols.extend([ 'parse_single_sequence_example', 'serialize_many_sparse', 'serialize_sparse', - 'sparse_matmul', ## use tf.matmul instead. + 'sparse_matmul', ## use tf.matmul instead. ]) # This is needed temporarily because we import it explicitly. |