TorchLean API

NN.Spec.Module.Autoencoder

Autoencoder as an NNModuleSpec #

The autoencoder spec model defines the forward pass and its VJP pieces. This file adds the NNModuleSpec wrapper so it can be composed with other modules and exported.

Small helper used by exporters to render a PyTorch-style activation string.

Instances For
    def Spec.AutoencoderModuleSpec {α : Type} [Context α] {inputDim hiddenDim : } (m : AutoencoderSpec α inputDim hiddenDim) :

    Autoencoder module specification following NNModuleSpec.

    Instances For