An embedding block is a neural-network module that transforms a timestep or class-label input into a shaped embedding used by a denoising U-Net. It combines two linear layers with a GELU activation. section 6.2.1
The mechanism proceeds in three stages:
- Reshape the result as spatial channels, such as (512, 1, 1) or (256, 1, 1), for decoder conditioning. section 6.2.1
Timestep and label embeddings
A timestep of 25 produces 512- and 256-channel embeddings after scaling by 1000. A three-item label batch produces corresponding 512- and 256-channel embeddings from one-hot class inputs.
