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) """