TorchLean API

NN.Library

Library #

NN.Library is the curated umbrella import for TorchLean's broad reusable library surface area.

It includes:

It excludes:

Trust-boundary documentation lives in TRUST_BOUNDARIES.md, where it can cover both Lean declarations and external CUDA / Python / Julia / Arb producers without treating those prose notes as part of the Lean API.

If you are writing ordinary model/training code, use import NN. For lighter imports, use NN.Entrypoint.API, NN.Entrypoint.Tensor, NN.Entrypoint.IR, or another subsystem entrypoint.