Skip to content

Commit

Permalink
Added padding doc
Browse files Browse the repository at this point in the history
More or less copied from monai/blocks/convolutions.py
  • Loading branch information
JupiLogy committed Sep 30, 2023
1 parent dec2b99 commit e322d1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monai/networks/nets/autoencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class AutoEncoder(nn.Module):
bias: whether to have a bias term in convolution blocks. Defaults to True.
According to `Performance Tuning Guide <https://pytorch.org/tutorials/recipes/recipes/tuning_guide.html>`_,
if a conv layer is directly followed by a batch norm layer, bias should be False.
padding: controls the amount of implicit zero-paddings on both sides for padding number of points
for each dimension in convolution blocks. Defaults to None.
Examples::
Expand Down

0 comments on commit e322d1d

Please sign in to comment.