xnn.trfnn.models.blocks.RadialMLP#
- class xnn.trfnn.models.blocks.RadialMLP(channels)[source]#
Bases:
ModuleThe radial function: linear layers, each but the last followed by layer norm and SiLU.
- Parameters:
- Variables:
net (torch.nn.Sequential) –
Linear, LayerNorm, SiLU, ..., Linear.