diff options
author | Andrew Selle <aselle@google.com> | 2017-08-03 18:12:13 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-08-03 18:16:42 -0700 |
commit | 367ad9a45c462bed826922688f1f1d1cac4bf9da (patch) | |
tree | c85c4afa2acaab295b0b79a5c4b6d031d4455ff3 /tensorflow/python/__init__.py | |
parent | 268bb07e3d0330bb781216036ff02586a84f7111 (diff) |
Introduce a tf.initializers namespace
Items are named as tf.initializers.zeros... old aliases like
tf.zeros_initializers still work.
PiperOrigin-RevId: 164211375
Diffstat (limited to 'tensorflow/python/__init__.py')
-rw-r--r-- | tensorflow/python/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/python/__init__.py b/tensorflow/python/__init__.py index 3c7bc73b35..a5238ed4ab 100644 --- a/tensorflow/python/__init__.py +++ b/tensorflow/python/__init__.py @@ -71,6 +71,9 @@ from tensorflow.python.client.client_lib import * # Ops from tensorflow.python.ops.standard_ops import * +# Namespaces +from tensorflow.python.ops import initializers_ns as initializers + # pylint: enable=wildcard-import # Bring in subpackages. @@ -242,6 +245,7 @@ _allowed_symbols.extend([ 'user_ops', 'layers', 'profiler', + 'initializers', ]) # Variables framework.versions: |