TorchLean API

NN.Widgets.IR.ShapeInference

ShapeInfer #

Shape inference / checking viewer for NN.IR.Graph.

TorchLean’s IR carries a declared outShape at each node. In practice, there are two common debugging questions when working with graphs:

This module provides a small infoview panel that answers those questions in a compact table.

Main command:

Main definitions #

Implementation notes #

References #

Tags #

shape-inference, ir, diagnostics, proofwidgets

Render a per-node table comparing declared shapes vs inferred shapes for an IR graph.

Instances For

    Command #