wnsample_padding (int, optional, defaults to 1) — The padding to use for the downsampling convolution.   mid_block_scale_factor (float, optional, defaults to 1.0) — The scale factor to use for the mid block.   act_fn (str, optional, defaults to "silu") — The activation function to use.   norm_num_groups (int, optional, defaults to 32) — The number of groups to use for the normalization.
If None, normalization and activation layers is skipped in