TorchLean API

NN.Runtime

Runtime #

Import this file when you need TorchLean's executable layer. It collects the runtime pieces used for building, training, importing, exporting, or checking runnable models:

For ordinary application code, prefer import NN.API. Import this file when you need the full executable subsystem. If you only need pure tensor semantics and theorems, prefer NN.Spec or NN.Proofs; those imports keep runtime bridge dependencies out of the build.

The runtime import includes reusable bridge infrastructure under NN.Runtime.PyTorch.*. Example-only MLP/CNN/Transformer round-trip code lives under NN.Examples.Interop.PyTorch.*, so ordinary runtime imports do not pull example modules into the library API.

References / context: