BatchSize

class madspace.BatchSize(*args, **kwargs)

Bases: pybind11_object

Symbolic size of the batch dimension of a Value.

A batch size is one of: the scalar size one (no batch dimension), a named symbol such as "batch_size", an anonymous symbol created for an intermediate result, or a sum of such terms with integer coefficients. Sizes are added and compared symbolically, so a graph can be type checked without knowing the actual number of events.

Overloaded function.

  1. __init__(self: madspace._madspace_py.BatchSize) -> None

  2. __init__(self: madspace._madspace_py.BatchSize, name: str) -> None

Named batch size such as "batch_size".

Parameters:

name – symbol name

one = 1