TorchLean API

NN.Entrypoint.Spec

Spec entrypoint #

This is the one-stop import for TorchLean’s spec layer: shapes, tensors, layers, modules, and model constructors.

If you're writing specs or proofs, this is usually the right place to start. If you're trying to run models (autograd, training loops, import/export), prefer the runtime entrypoints instead.

Structure:

This module is the chapter boundary for the spec surface. It imports the focused NN.Spec.* subsystems directly and re-exports the ergonomic tensor entrypoint beside them.