TorchLean API

NN.GraphSpec

Graph Specifications #

Curated umbrella import for GraphSpec. Use this import when working with GraphSpec models, primitives, lowering, and bridge theorems:

import NN.GraphSpec

It gives you:

Sequential Chain pipelines can be lowered to the canonical NN.GraphSpec.DAG.Model via NN.GraphSpec.LowerToDAG.Chain.toDAGTerm and NN.GraphSpec.LowerToDAG.Chain.toDAGModelZeroInit.

Umbrella re-export; the implementation lives in the imported modules.