TorchLean API

NN.Runtime.Optim

Runtime Optim #

NN.Runtime.Optim is the small umbrella for TorchLean's reusable optimizer math.

This subsystem intentionally contains only pure, tensor-level pieces:

What this file does not contain:

Those are separate on purpose. The high-level runtime bridge in NN.Runtime.Autograd.TorchLean.Optim lifts these pure single-tensor equations to parameter lists, and NN.API.Runtime exposes user-facing optimizer configs. Keeping this layer pure gives proofs, tests, and runtime code one shared source of truth for the actual update formulas.