TorchLean API

NN.Examples.Interop.PyTorch.Export

PyTorch Example Exporters #

Example-specific PyTorch nn.Module generators used by the round-trip examples.

These are intentionally outside NN.Runtime.PyTorch: they bake in tutorial model shapes and naming conventions, while the runtime bridge owns the general IR and state_dict paths. The actual files live beside their fixtures under MLP/, CNN/, and Transformer/.