Skip to main content

TransformReport

What one transform in the list did during an optimize() run: the list entry, the iterations in which it changed the graph, whether it failed (the run undid its change and skipped it for the rest of the run, so the graph is still correct, only less optimized) with the failure's status name and message, and whether it was still changing the graph when max_num_iterations stopped the run.

applications (property)​

The iterations in which it changed the graph.

failed (property)​

It failed: the run undid its change and skipped it for the rest of the run. A transform the list holds more than once reads failed at each of its entries.

failure_code (property)​

The failure's status name, as a raised error's code_name spells it, when failed; '' otherwise.

failure_message (property)​

The failure's message when failed; '' otherwise.

firing_at_cap (property)​

It changed the graph in the last iteration of a run that max_num_iterations stopped: one of the transforms still firing at the cap.

transform (property)​

The list entry (a Transform).

__init__​

__init____init__(self, transform: clika_runtime._core.graph.Transform, *, applications: int = 0, failed: bool = False, failure_code: str = '', failure_message: str = '', firing_at_cap: bool = False) -> None

init(self, transform: clika_runtime._core.graph.Transform, *, applications: int = 0, failed: bool = False, failure_code: str = '', failure_message: str = '', firing_at_cap: bool = False) -> None

TransformReport(transform, *, applications=0, failed=False, failure_code='', failure_message='', firing_at_cap=False)

One row of an OptimizeReport; optimize() returns one per list entry.