LayerResult
PythonProfiling result for a single model layer (averaged across iterations).
LayerResult( id: int | str, op: str, counters: dict[str, float] = dict(), cycles: float | None = None, overflow: bool = False, source_index: int | None = None,) -> Nonedataclass
Profiling result for a single model layer (averaged across iterations).
source_index is the ORIGINAL tflite operator index this measured
layer corresponds to, when the op label carries one (#218). id is
the firmware’s execution position, which on AOT engines is NOT the
original index — helia-aot skips ops without renumbering.
API tier: stable
id
Pythonid: int | strop
Pythonop: strcounters
Pythoncounters: dict[str, float] = field(default_factory=dict)cycles
Pythoncycles: float | None = Noneoverflow
Pythonoverflow: bool = Falsesource_index
Pythonsource_index: int | None = None