class documentation
class SwiftSRGAN(nn.Module): (source)
Constructor: SwiftSRGAN(in_channels, num_channels, num_blocks, upscale_factor)
Swift-SRGAN Generator
| Parameters | |
| in | number of input image channels. |
| num | number of hidden channels. |
| num | number of residual blocks. |
| upscale | factor to upscale the image [2x, 4x, 8x]. |
| Returns | |
torch.Tensor | super resolution image |
| Method | __init__ |
Undocumented |
| Method | forward |
Undocumented |
| Class Variable | hyperparameters |
Undocumented |
| Instance Variable | convblock |
Undocumented |
| Instance Variable | final |
Undocumented |
| Instance Variable | initial |
Undocumented |
| Instance Variable | residual |
Undocumented |
| Instance Variable | upsampler |
Undocumented |