Sampler › Denoiser › 12 denoiser blocks › MLP
MLP input
×tensor
The normalized and time-modulated features entering the MLP.
- shape
- [B batch, T positions, 768 d]
Sources
Contextual evidence from Modulate
The residual update is scale · dropout(x) added to the residual; modulation is x · (1 + scale) + shift.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Modulate
A block normalizes, modulates by the time condition’s shift and scale, projects to queries, keys and values, rotates queries and keys, attends over all positions with softcap, and adds the projected output scaled by a gate; the MLP branch does the same with its own shift, scale and gate.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Expansion
The standard MLP: an affine layer, GELU with the tanh approximation, an affine layer.
The implementation, pinned at revision e18c42acdfb7, not yet public