-
in_channels, out_channels: clear -
paramterization: 'spatial', 'spectral' how to parameterize the kernel. Convertable, but differences in training opt -
in_shape: only applies forparam='spatial'. Options:-
in_shape=None: spatial kernel doman varies with input resolution in the same way as normal CNNS -
in_shape=[N,M]: kernel to image relation is apadpted to kernel shape toin_shaperelation.
-
-
out_shape: applies for both parametrizations Determines output shape after convolution but before striding.-
out_shape=None: this yieldsout_shapeequal to the shape of the input -
out_shape=[N,M]: resizng via trigonometric interpolation. Here,N,Mcan not depend on the input shape.
-
-
stride: usual striding, like for CNNs. -
odd: only applies forparam='spectral'. Determines if the parametrized kernel fft$\mathcal{F}(k)$ has odd or even width. -
norm: determines the norm to be used in FFT. Ifout_shapeis notNonethe norm is recommended to be choosen asnorm='forward'.
A normal CNN can be mimicked by using
in_shape=None, out_shape = None