← back to Exo

.typings/mflux/models/flux/model/flux_vae/vae.pyi

16 lines

"""
This type stub file was generated by pyright.
"""

import mlx.core as mx
from mlx import nn

class VAE(nn.Module):
    scaling_factor: int = ...
    shift_factor: int = ...
    spatial_scale = ...
    latent_channels = ...
    def __init__(self) -> None: ...
    def decode(self, latents: mx.array) -> mx.array: ...
    def encode(self, image: mx.array) -> mx.array: ...