def __init__(self, in_channels, out_channels, mid_channels=None):
    super().__init__()
    if (not mid_channels):
        mid_channels = out_channels
    self.double_conv = nn.Sequential(nn.Conv3d(in_channels, mid_channels, kernel_size=3, padding=1), nn.ReLU(inplace=True), nn.Conv3d(mid_channels, out_channels, kernel_size=3, padding=1), nn.ReLU(inplace=True))
def __init__(self, in_channels, out_channels, mid_channels=None):
    super().__init__()
    if (not mid_channels):
        mid_channels = out_channels
    self.double_conv = nn.Sequential(nn.Conv3d(in_channels, mid_channels, kernel_size=3, padding=1), nn.ReLU(inplace=True), nn.Conv3d(mid_channels, out_channels, kernel_size=3, padding=1), nn.ReLU(inplace=True))