diff --git a/keras/src/layers/convolutional/conv2d.py b/keras/src/layers/convolutional/conv2d.py index 24b47783b3c..ab51c40e67a 100644 --- a/keras/src/layers/convolutional/conv2d.py +++ b/keras/src/layers/convolutional/conv2d.py @@ -7,10 +7,10 @@ class Conv2D(BaseConv): """2D convolution layer. This layer creates a convolution kernel that is convolved with the layer - input over a single spatial (or temporal) dimension to produce a tensor of - outputs. If `use_bias` is True, a bias vector is created and added to the - outputs. Finally, if `activation` is not `None`, it is applied to the - outputs as well. + input over a 2D spatial (or temporal) dimension (height and width) to + produce a tensor of outputs. If `use_bias` is True, a bias vector is created + and added to the outputs. Finally, if `activation` is not `None`, it is + applied to the outputs as well. Args: filters: int, the dimension of the output space (the number of filters diff --git a/keras/src/layers/convolutional/conv3d.py b/keras/src/layers/convolutional/conv3d.py index a4cb1c0b8f5..1fc533cfdc3 100644 --- a/keras/src/layers/convolutional/conv3d.py +++ b/keras/src/layers/convolutional/conv3d.py @@ -7,10 +7,10 @@ class Conv3D(BaseConv): """3D convolution layer. This layer creates a convolution kernel that is convolved with the layer - input over a single spatial (or temporal) dimension to produce a tensor of - outputs. If `use_bias` is True, a bias vector is created and added to the - outputs. Finally, if `activation` is not `None`, it is applied to the - outputs as well. + input over a 3D spatial (or temporal) dimension (width,height and depth) to + produce a tensor of outputs. If `use_bias` is True, a bias vector is created + and added to the outputs. Finally, if `activation` is not `None`, it is + applied to the outputs as well. Args: filters: int, the dimension of the output space (the number of filters