boundlab.utils#

Utility Functions for BoundLab

This module provides helper functions used throughout the BoundLab framework.

Examples

>>> from boundlab.utils import merge_name
>>> merge_name("x", "+", "y")
'(x + y)'

Functions

merge_name

Merge two optional names into a single name for a composed operation.

onnx_export

Export a PyTorch function to ONNX format.

Classes

TypeVar

Type variable.