Common Tasks
Start from the thing you want to do, then jump into the declaration namespace from there.
The complete TorchLean library.
Write model code NN.APIThe focused application API for models, data, and training.
Work with tensors NN.TensorThe focused tensor, shape, and operation import.
Inspect graph IR NN.IR.GraphThe op-tagged graph representation used by lowering and verification.
Read operator semantics NN.IR.SemanticsThe executable meaning attached to IR operators and graph evaluation.
Run training code NN.RuntimeRuntime autograd, compiled execution, and training support.
Check certificates NN.VerificationThe registered certificate and verification command surface.
Audit Float32 execution NN.Floats.IEEEExecExecutable IEEE-754 binary32 semantics used in float audits.
Start from the thing you want to do, then jump into the declaration namespace from there.
The colored stripe on each declaration page marks what Lean generated.