aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/layers
diff options
context:
space:
mode:
authorGravatar Pavithra Vijay <psv@google.com>2018-05-17 21:36:39 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-17 21:40:10 -0700
commit609b2ce3fe8ebecf4031670b8c2186468369b0ba (patch)
tree59d5eb7308ffc67a4602f9b028cdd45450f56777 /tensorflow/python/layers
parentaca0458707fa63626c78acfeae2ade9ee78c54d1 (diff)
Move Keras code out of _impl folder and remove API files.
PiperOrigin-RevId: 197097430
Diffstat (limited to 'tensorflow/python/layers')
-rw-r--r--tensorflow/python/layers/base.py2
-rw-r--r--tensorflow/python/layers/convolutional.py2
-rw-r--r--tensorflow/python/layers/core.py2
-rw-r--r--tensorflow/python/layers/normalization.py2
-rw-r--r--tensorflow/python/layers/pooling.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/tensorflow/python/layers/base.py b/tensorflow/python/layers/base.py
index 2040e0081e..340c34fc5e 100644
--- a/tensorflow/python/layers/base.py
+++ b/tensorflow/python/layers/base.py
@@ -22,7 +22,7 @@ import copy
from tensorflow.python.eager import context
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import ops
-from tensorflow.python.keras._impl.keras.engine import base_layer
+from tensorflow.python.keras.engine import base_layer
from tensorflow.python.ops import variable_scope as vs
from tensorflow.python.ops import variables as tf_variables
from tensorflow.python.util import function_utils
diff --git a/tensorflow/python/layers/convolutional.py b/tensorflow/python/layers/convolutional.py
index 34a1487e74..267d78dbcb 100644
--- a/tensorflow/python/layers/convolutional.py
+++ b/tensorflow/python/layers/convolutional.py
@@ -23,7 +23,7 @@ from __future__ import print_function
from tensorflow.python.eager import context
from tensorflow.python.framework import ops
from tensorflow.python.framework import tensor_shape
-from tensorflow.python.keras._impl.keras import layers as keras_layers
+from tensorflow.python.keras import layers as keras_layers
from tensorflow.python.layers import base
from tensorflow.python.layers import utils
from tensorflow.python.ops import array_ops
diff --git a/tensorflow/python/layers/core.py b/tensorflow/python/layers/core.py
index 6d8e9eac87..abbacac442 100644
--- a/tensorflow/python/layers/core.py
+++ b/tensorflow/python/layers/core.py
@@ -27,7 +27,7 @@ import six
from six.moves import xrange # pylint: disable=redefined-builtin
import numpy as np
-from tensorflow.python.keras._impl.keras import layers as keras_layers
+from tensorflow.python.keras import layers as keras_layers
from tensorflow.python.layers import base
from tensorflow.python.ops import init_ops
from tensorflow.python.util.tf_export import tf_export
diff --git a/tensorflow/python/layers/normalization.py b/tensorflow/python/layers/normalization.py
index 33284b0d69..d082e312e9 100644
--- a/tensorflow/python/layers/normalization.py
+++ b/tensorflow/python/layers/normalization.py
@@ -24,7 +24,7 @@ import six
from six.moves import xrange # pylint: disable=redefined-builtin
import numpy as np
-from tensorflow.python.keras._impl.keras import layers as keras_layers
+from tensorflow.python.keras import layers as keras_layers
from tensorflow.python.layers import base
from tensorflow.python.ops import init_ops
from tensorflow.python.util.tf_export import tf_export
diff --git a/tensorflow/python/layers/pooling.py b/tensorflow/python/layers/pooling.py
index 75abe56f51..c53cca3d31 100644
--- a/tensorflow/python/layers/pooling.py
+++ b/tensorflow/python/layers/pooling.py
@@ -19,7 +19,7 @@ from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
-from tensorflow.python.keras._impl.keras import layers as keras_layers
+from tensorflow.python.keras import layers as keras_layers
from tensorflow.python.layers import base
from tensorflow.python.util.tf_export import tf_export