Skip to content

Commit

Permalink
2D CNN's and 3D CNN's description update. (keras-team#20059)
Browse files Browse the repository at this point in the history
* Update conv2d.py

Update Conv2D description

* Updated conv2D and Conv3D description

* Update Conv2D and Conv3D description

* Update conv2D and conv3D description_1
  • Loading branch information
mehtamansi29 authored Jul 29, 2024
1 parent 25391fe commit 58a6e42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions keras/src/layers/convolutional/conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions keras/src/layers/convolutional/conv3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58a6e42

Please sign in to comment.