aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/__init__.py
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-08-25 12:45:33 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-25 12:59:03 -0700
commitd8347c81628377ce99bb5d9e5fa55ddc8b7d47f3 (patch)
treeec40fd7d8e82920838315b075447a14671cb2121 /tensorflow/python/__init__.py
parent85a5d615789fe5e01cc3a683c702c96c6941eceb (diff)
Introduce tf.linalg namespace.
Ops are named tf.linalg.cholesky etc. Old aliases like tf.cholesky still work. Notice that most ops were renamed to be more in line with the (more or less) equivalent numpy function. PiperOrigin-RevId: 166511987
Diffstat (limited to 'tensorflow/python/__init__.py')
-rw-r--r--tensorflow/python/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/python/__init__.py b/tensorflow/python/__init__.py
index a5238ed4ab..acda11bd18 100644
--- a/tensorflow/python/__init__.py
+++ b/tensorflow/python/__init__.py
@@ -73,6 +73,7 @@ from tensorflow.python.ops.standard_ops import *
# Namespaces
from tensorflow.python.ops import initializers_ns as initializers
+from tensorflow.python.ops import linalg_ns as linalg
# pylint: enable=wildcard-import
@@ -228,6 +229,8 @@ _allowed_symbols.extend([
'gfile',
'graph_util',
'image',
+ 'initializers',
+ 'linalg',
'logging',
'losses',
'metrics',
@@ -245,7 +248,6 @@ _allowed_symbols.extend([
'user_ops',
'layers',
'profiler',
- 'initializers',
])
# Variables framework.versions: