diff options
author | Francois Chollet <fchollet@google.com> | 2017-09-05 15:14:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-09-05 15:18:49 -0700 |
commit | eaaa0b93852054dee086a3ed5373cf8bbe3d2fb3 (patch) | |
tree | 715404d30c98f037b6fa98bd668118ef4bc94f6e /tensorflow/python/__init__.py | |
parent | a8b7a320a47f326b97c00ac129d572b50a22fb51 (diff) |
Move the Keras API to tf.keras.
PiperOrigin-RevId: 167638421
Diffstat (limited to 'tensorflow/python/__init__.py')
-rw-r--r-- | tensorflow/python/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/python/__init__.py b/tensorflow/python/__init__.py index acda11bd18..18603c2181 100644 --- a/tensorflow/python/__init__.py +++ b/tensorflow/python/__init__.py @@ -80,6 +80,7 @@ from tensorflow.python.ops import linalg_ns as linalg # Bring in subpackages. from tensorflow.python.estimator import estimator_lib as estimator from tensorflow.python.feature_column import feature_column_lib as feature_column +from tensorflow.python import keras from tensorflow.python.layers import layers from tensorflow.python.ops import bitwise_ops as bitwise from tensorflow.python.ops import image_ops as image @@ -248,6 +249,7 @@ _allowed_symbols.extend([ 'user_ops', 'layers', 'profiler', + 'keras', ]) # Variables framework.versions: @@ -265,7 +267,7 @@ remove_undocumented(__name__, _allowed_symbols, [ functional_ops, histogram_ops, io_ops, losses, math_ops, metrics, nn, resource_loader, sets, script_ops, session_ops, sparse_ops, state_ops, string_ops, summary, tensor_array_ops, - train, layers, profiler + train, layers, profiler, keras ]) # Special dunders that we choose to export: |