lity for down, up and bottleneck blocks.


flip_sin_to_cos (bool, optional, defaults to True) —
Whether to flip the sin to cos in the time embedding.


freq_shift (int, optional, defaults to 0) — The frequency shift to apply to the time embedding.



FlaxUNet2DConditionModel is a conditional 2D UNet model that takes in a noisy sample, conditional state, and a
timestep and returns sample shaped output.
This model inherits from FlaxModelMixin. Ch