TorchLean API

NN.Examples.Models.Generative.Vae

β-VAE-Style CIFAR Example #

Runnable compact VAE path over flattened CIFAR images.

The formal VAE objective and decomposition theorems live in NN.Spec.Models.Vae and NN.MLTheory.Generative.Latent.VAE. This executable uses a compact supervised runtime target: reconstruct the image while keeping latent mean/log-variance proxy channels near zero.

CLI subcommand name used in terminal banners and error messages.

Instances For

    Default JSON loss-curve path for this command.

    Instances For

      Shared vector-image configuration.

      The runtime example uses the same flattened CIFAR data boundary as the other vector generative commands, while the VAE-specific output shape adds latent mean/log-variance proxy channels.

      Instances For
        @[reducible, inline]

        Input shape: a batch of flattened CIFAR image vectors.

        Instances For
          @[reducible, inline]

          Output shape: reconstruction plus latent regularization proxy channels.

          Instances For

            Trainable VAE-style vector model.

            The executable target is still an MSE-style supervised sample; the imported spec/theory files state the theorem-facing VAE objective separately.

            Instances For

              Public singleton dataset for compact CIFAR reconstruction plus latent-stat targets.

              Instances For

                Train the compact VAE-style model with the public Trainer surface.

                Instances For

                  Executable entrypoint for the compact VAE-style run.

                  The command loads CIFAR vectors, constructs the reconstruction/latent-proxy target, trains with Adam, and writes the standard TorchLean training summary/log.

                  Instances For