From 65791db8d4ca09b228e3e1d24f038dbe63cd45c4 Mon Sep 17 00:00:00 2001 From: keerthanakadiri <147126008+keerthanakadiri@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:35:21 +0530 Subject: [PATCH] Modified example in separable_conv2d Example code has changed by modifying existing code --- keras/src/layers/convolutional/separable_conv2d.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keras/src/layers/convolutional/separable_conv2d.py b/keras/src/layers/convolutional/separable_conv2d.py index 27c1548231d..44980e87a07 100644 --- a/keras/src/layers/convolutional/separable_conv2d.py +++ b/keras/src/layers/convolutional/separable_conv2d.py @@ -91,7 +91,8 @@ class SeparableConv2D(BaseSeparableConv): Example: >>> x = np.random.rand(4, 10, 10, 12) - >>> y = keras.layers.SeparableConv2D(3, 4, 3, 2, activation='relu')(x) + >>> y = SeparableConv2D(filters=4, kernel_size=(4, 4), + strides=(2, 2), activation='relu')(x) >>> print(y.shape) (4, 4, 4, 4) """