From a2a51221ea9dccc75de6aea8380a94591b44e412 Mon Sep 17 00:00:00 2001 From: Francois Chollet Date: Fri, 11 Jun 2021 15:02:35 -0700 Subject: [PATCH] Remove RandomHeight and RandomWidth layers. PiperOrigin-RevId: 378957403 --- .../core/tests/testdata/keras_tuner_cifar_example.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py b/src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py index 2ad8c8de..db657a7c 100644 --- a/src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py +++ b/src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py @@ -25,8 +25,7 @@ def build_model(hp): [ tf.keras.layers.experimental.preprocessing.RandomFlip(), tf.keras.layers.experimental.preprocessing.RandomRotation(0.1), - tf.keras.layers.experimental.preprocessing.RandomWidth(0.1), - tf.keras.layers.experimental.preprocessing.RandomHeight(0.1), + tf.keras.layers.experimental.preprocessing.RandomZoom(0.1), ] ) inputs = tf.keras.Input(shape=(32, 32, 3))