From cbb827cc3be04c7a6eb426c3471760ab587919df Mon Sep 17 00:00:00 2001 From: keerthanakadiri <147126008+keerthanakadiri@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:23:25 +0530 Subject: [PATCH] Modified depthwise_conv1d.py example code Example code has changed by modifying existing code --- keras/src/layers/convolutional/depthwise_conv1d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keras/src/layers/convolutional/depthwise_conv1d.py b/keras/src/layers/convolutional/depthwise_conv1d.py index d787fcd0e30..7c4b1b7b093 100644 --- a/keras/src/layers/convolutional/depthwise_conv1d.py +++ b/keras/src/layers/convolutional/depthwise_conv1d.py @@ -92,7 +92,7 @@ class DepthwiseConv1D(BaseDepthwiseConv): Example: >>> x = np.random.rand(4, 10, 12) - >>> y = keras.layers.DepthwiseConv1D(3, 3, 2, activation='relu')(x) + >>> y = keras.layers.DepthwiseConv1D(kernel_size=3, depth_multiplier=3, strides=2, activation='relu')(x) >>> print(y.shape) (4, 4, 36) """