f AutoencoderKL encoding method.

AutoencoderKL
	

class diffusers.AutoencoderKL

<
source
>
(
in_channels: int = 3
out_channels: int = 3
down_block_types: typing.Tuple[str] = ('DownEncoderBlock2D',)
up_block_types: typing.Tuple[str] = ('UpDecoderBlock2D',)
block_out_channels: typing.Tuple[int] = (64,)
layers_per_block: int = 1
act_fn: str = 'silu'
latent_channels: int = 4
norm_num_groups: int = 32
sample_size: int = 32
scaling_factor: float = 