tfm.nlp.layers.MixingMechanism

Stay organized with collections Save and categorize content based on your preferences.

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'>