Base(activation: str = 'relu', activations_inplace: bool = False)¶
Base class for a generic residual block, with support for
forward(x: torch.Tensor) → torch.Tensor¶
ResBlock forward pass.
Conv2d(channels: int, bottleneck_channels: int = None, kernel_size: int = 3, **resblock_base_args)¶
Standard convolutional residual block.