class documentation
class ResidualDenseBlock_5C(nn.Module): (source)
Constructor: ResidualDenseBlock_5C(nf, kernel_size, gc, stride, ...)
Residual Dense Block Style: 5 convs The core module of paper: (Residual Dense Network for Image Super-Resolution, CVPR 18) Modified options that can be used:
- "Partial Convolution based Padding"
arXiv:1811.11718
- "Spectral normalization"
arXiv:1802.05957
- "ICASSP 2020 - ESRGAN+ : Further Improving ESRGAN" N. C. {Rakotonirina} and A. {Rasoanaivo}
Parameters | |
nf | Channel number of intermediate features (num_feat). |
gc | Channels for each growth (num_grow_ch: growth channel, i.e. intermediate channels). |
convtype | the type of convolution to use. Default: 'Conv2D' |
gaussian | enable the ESRGAN+ gaussian noise (no new trainable parameters) |
plus | enable the additional residual paths from ESRGAN+ (adds trainable parameters) |
Method | __init__ |
Undocumented |
Method | forward |
Undocumented |
Instance Variable | conv1 |
Undocumented |
Instance Variable | conv1x1 |
Undocumented |
Instance Variable | conv2 |
Undocumented |
Instance Variable | conv3 |
Undocumented |
Instance Variable | conv4 |
Undocumented |
Instance Variable | conv5 |
Undocumented |