Skip to main content

Module util

Module util 

Source
Expand description

Utility functions for the IR.

This module provides helper functions for:

  • Pretty printing expressions and graphs
  • Computing IR statistics
  • Formatting and display utilities

Structs§

ExprStats
Statistics about a TLExpr.
GraphStats
Statistics about an EinsumGraph.

Functions§

pretty_print_expr
Pretty-print a TLExpr to a string.
pretty_print_graph
Pretty-print a graph to a string.