Unofficial implementation of a normalization layer from paper Spectral Batch Normalization: Normalization in the Frequency Domain.
Some notes about this implementation:
- SBN layer and BN layer are combined into
SpatialSpectralBatchNorm2dlayer. - Supported values for
fft_normare[forward, backward, ortho, full]. Modefullnormalizes output offftandifftand should be preferred to avoid possible issues with numerical stability.
Some notes from the paper:
- Use SBN layer after BN layer.
- Use SBN layers in deeper blocks of model.
- ...