Commit d1f2e3e4 authored by Patrick von Platen's avatar Patrick von Platen
Browse files

up

parent 1899457b
...@@ -167,8 +167,8 @@ class Downsample(nn.Module): ...@@ -167,8 +167,8 @@ class Downsample(nn.Module):
# class GlideUpsample(nn.Module): # class GlideUpsample(nn.Module):
# """ # """
# An upsampling layer with an optional convolution. # # :param channels: channels in the inputs and outputs. :param # An upsampling layer with an optional convolution. # # :param channels: channels in the inputs and outputs. :param
use_conv: a bool determining if a convolution is # applied. :param dims: determines if the signal is 1D, 2D, or 3D. If # use_conv: a bool determining if a convolution is # applied. :param dims: determines if the signal is 1D, 2D, or 3D. If
3D, then # upsampling occurs in the inner-two dimensions. #""" # 3D, then # upsampling occurs in the inner-two dimensions. #"""
# #
# def __init__(self, channels, use_conv, dims=2, out_channels=None): # def __init__(self, channels, use_conv, dims=2, out_channels=None):
# super().__init__() # super().__init__()
...@@ -193,8 +193,8 @@ use_conv: a bool determining if a convolution is # applied. :param dims: determi ...@@ -193,8 +193,8 @@ use_conv: a bool determining if a convolution is # applied. :param dims: determi
# class LDMUpsample(nn.Module): # class LDMUpsample(nn.Module):
# """ # """
# An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param # # An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param #
use_conv: a bool determining if a convolution is applied. :param dims: determines if the signal is 1D, 2D, or 3D. # If # use_conv: a bool determining if a convolution is applied. :param dims: determines if the signal is 1D, 2D, or 3D. # If
3D, then # upsampling occurs in the inner-two dimensions. #""" # 3D, then # upsampling occurs in the inner-two dimensions. #"""
# #
# def __init__(self, channels, use_conv, dims=2, out_channels=None, padding=1): # def __init__(self, channels, use_conv, dims=2, out_channels=None, padding=1):
# super().__init__() # super().__init__()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment