From 58a6e42990451f13d77036c9fa7770416fc462f3 Mon Sep 17 00:00:00 2001 From: mehtamansi29 Date: Mon, 29 Jul 2024 21:01:00 +0530 Subject: [PATCH] 2D CNN's and 3D CNN's description update. (#20059) * Update conv2d.py Update Conv2D description * Updated conv2D and Conv3D description * Update Conv2D and Conv3D description * Update conv2D and conv3D description_1 --- keras/src/layers/convolutional/conv2d.py | 8 ++++---- keras/src/layers/convolutional/conv3d.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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