boundlab.utils.TensorFormat#

final class boundlab.utils.TensorFormat[source]#

Bases: object

A format string plus the traced arrays that fill its placeholders.

A kwarg may itself be a TensorFormat; its format is spliced in place of the placeholder and its keys are renamed to stay unique.

Methods

fmt: str#
kwargs: dict[str, Any]#
__init__(fmt, **kwargs)[source]#
add_identifier(identifier)[source]#
render()[source]#
print()[source]#
__add__(other)[source]#
static join(iterable, sep='')[source]#