Skip to content

Commit

Permalink
Correction in layers.__init__.py (keras-team#503)
Browse files Browse the repository at this point in the history
* Import `BaseAugmentationLayer` from keras_cv itself

* Update __init__.py

* Formatted
  • Loading branch information
AdityaKane2001 committed Jun 19, 2022
1 parent 55f3bf8 commit 1157be6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keras_cv/layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from tensorflow.keras.__internal__.layers import BaseImageAugmentationLayer
from tensorflow.keras.layers import CenterCrop
from tensorflow.keras.layers import RandomBrightness
from tensorflow.keras.layers import RandomContrast
Expand All @@ -28,6 +27,9 @@

from keras_cv.layers.preprocessing.aug_mix import AugMix
from keras_cv.layers.preprocessing.auto_contrast import AutoContrast
from keras_cv.layers.preprocessing.base_image_augmentation_layer import (
BaseImageAugmentationLayer,
)
from keras_cv.layers.preprocessing.channel_shuffle import ChannelShuffle
from keras_cv.layers.preprocessing.cut_mix import CutMix
from keras_cv.layers.preprocessing.equalization import Equalization
Expand Down

0 comments on commit 1157be6

Please sign in to comment.