xnn.common.train.graphed.FixedShapePlanner#

class xnn.common.train.graphed.FixedShapePlanner(check=None)[source]#

Bases: NoIndexPlanner

The planner of a model whose shapes the batch fixes by itself and which takes no padding structure (a model bound to one system, ByteFF): a captured evaluation replays the batch as it comes and is recorded again when its counts change.

Parameters:

check (Optional[Callable[[Tensor], None]])

pads: bool = False#

Whether a batch is padded by an inert structure to fixed counts.