Lifecycle
PythonState handling across invocations.
Lifecycle()State handling across invocations.
CARRY initializes one instance and keeps its internal state through
warmups and timed invocations, restoring only the fixed inputs each time.
SINGLE runs one measured invocation per initialized instance, so no
state carries between invocations. Where an instance ends is the engine’s
:class:InstanceBoundary: for a boot engine SINGLE is one timed
invocation and no warmups per boot; for an invocation engine, such as
ExecuTorch, every invocation is its own instance, so several measurements
are several instances, never one carried state. The fixture firmware
refuses a timed span of zero ticks of its 32.768 kHz timer, so a
SINGLE invocation shorter than about 30.5 µs can fail as
TIMING_BOUND.
API tier: experimental
CARRY
PythonCARRY = 'carry'SINGLE
PythonSINGLE = 'single'