TorchLean API

NN.Widgets.IR.Graph

Widgets IR #

IR graph viewer widget (for debugging / teaching).

This module defines #ir_view g, which renders an NN.IR.Graph as an interactive HTML panel with:

Like other widgets, this is an inspection surface for examples and pass debugging. Proof scripts should cite the underlying graph definitions and theorems directly.

Main definitions #

Implementation notes #

References #

Tags #

ir, graph, visualization, dot, proofwidgets

def NN.Widgets.irHtml (g : IR.Graph) (maxDotChars : := 6000) :

Render an IR graph as a rich HTML panel.

Instances For

    Commands #