Skip to content

Commit 398e41f

Browse files
committed
DCO Remediation Commit for YunLiu <[email protected]>
I, YunLiu <[email protected]>, hereby add my Signed-off-by to this commit: 2fc0126 Signed-off-by: YunLiu <[email protected]>
1 parent 00935b4 commit 398e41f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

monai/networks/nets/autoencoderkl.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class _Upsample(nn.Module):
3838
Convolution-based upsampling layer.
3939
4040
Args:
41-
spatial_dims: number of spatial dimensions (1D, 2D, 3D).
41+
spatial_dims: number of spatial dimensions, could be 1, 2, or 3.
4242
in_channels: number of input channels to the layer.
4343
use_convtranspose: if True, use ConvTranspose to upsample feature maps in decoder.
4444
"""
@@ -98,7 +98,7 @@ class _Downsample(nn.Module):
9898
Convolution-based downsampling layer.
9999
100100
Args:
101-
spatial_dims: number of spatial dimensions (1D, 2D, 3D).
101+
spatial_dims: number of spatial dimensions, could be 1, 2, or 3.
102102
in_channels: number of input channels.
103103
"""
104104

@@ -132,7 +132,7 @@ class _ResBlock(nn.Module):
132132
residual connection between input and output.
133133
134134
Args:
135-
spatial_dims: number of spatial dimensions (1D, 2D, 3D).
135+
spatial_dims: number of spatial dimensions, could be 1, 2, or 3.
136136
in_channels: input channels to the layer.
137137
norm_num_groups: number of groups involved for the group normalisation layer. Ensure that your number of
138138
channels is divisible by this number.
@@ -206,7 +206,7 @@ class _AttentionBlock(nn.Module):
206206
Attention block.
207207
208208
Args:
209-
spatial_dims: number of spatial dimensions (1D, 2D, 3D).
209+
spatial_dims: number of spatial dimensions, could be 1, 2, or 3.
210210
num_channels: number of input channels.
211211
num_head_channels: number of channels in each attention head.
212212
norm_num_groups: number of groups involved for the group normalisation layer. Ensure that your number of
@@ -325,7 +325,7 @@ class Encoder(nn.Module):
325325
Convolutional cascade that downsamples the image into a spatial latent space.
326326
327327
Args:
328-
spatial_dims: number of spatial dimensions (1D, 2D, 3D).
328+
spatial_dims: number of spatial dimensions, could be 1, 2, or 3.
329329
in_channels: number of input channels.
330330
channels: sequence of block output channels.
331331
out_channels: number of channels in the bottom layer (latent space) of the autoencoder.
@@ -463,7 +463,7 @@ class Decoder(nn.Module):
463463
Convolutional cascade upsampling from a spatial latent space into an image space.
464464
465465
Args:
466-
spatial_dims: number of spatial dimensions (1D, 2D, 3D).
466+
spatial_dims: number of spatial dimensions, could be 1, 2, or 3.
467467
channels: sequence of block output channels.
468468
in_channels: number of channels in the bottom layer (latent space) of the autoencoder.
469469
out_channels: number of output channels.
@@ -611,7 +611,7 @@ class AutoencoderKL(nn.Module):
611611
and Pinaya et al. "Brain Imaging Generation with Latent Diffusion Models" https://arxiv.org/abs/2209.07162
612612
613613
Args:
614-
spatial_dims: number of spatial dimensions (1D, 2D, 3D).
614+
spatial_dims: number of spatial dimensions, could be 1, 2, or 3.
615615
in_channels: number of input channels.
616616
out_channels: number of output channels.
617617
num_res_blocks: number of residual blocks (see _ResBlock) per level.

0 commit comments

Comments
 (0)