tfm.nlp.layers.MixingMechanism

Determines the type of mixing layer.

FOURIER Fourier Transform mixing. LINEAR Mixing using dense matrix multiplications with learnable weights. HARTLEY Hartley Transform mixing.

FOURIER <MixingMechanism.FOURIER: 'fourier'> HARTLEY <MixingMechanism.HARTLEY: 'hartley'> LINEAR <MixingMechanism.LINEAR: 'linear'>