Skip to content

Commit 6e71024

Browse files
fcholletTensorflow Cloud maintainers
authored andcommitted
Remove RandomHeight and RandomWidth layers.
PiperOrigin-RevId: 378957403
1 parent aef2e05 commit 6e71024

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ def build_model(hp):
2525
[
2626
tf.keras.layers.experimental.preprocessing.RandomFlip(),
2727
tf.keras.layers.experimental.preprocessing.RandomRotation(0.1),
28-
tf.keras.layers.experimental.preprocessing.RandomWidth(0.1),
29-
tf.keras.layers.experimental.preprocessing.RandomHeight(0.1),
28+
tf.keras.layers.experimental.preprocessing.RandomZoom(0.1),
3029
]
3130
)
3231
inputs = tf.keras.Input(shape=(32, 32, 3))

0 commit comments

Comments
 (0)