Skip to main content

OptimizeReport

What one ModelGraph.optimize() run did: the iterations of the transform list that ran, whether the run stopped on its own, whether it changed the graph, and one TransformReport row per list entry.

changed (property)​

True when the run modified the graph.

converged (property)​

True when a whole iteration changed nothing, so the run stopped on its own; False when max_num_iterations stopped it.

iterations (property)​

Iterations of the transform list that ran.

transforms (property)​

One TransformReport per list entry, in list order.

__init__​

__init____init__(self, *, iterations: int = 0, converged: bool = False, changed: bool = False, transforms: collections.abc.Sequence[clika_runtime._core.io.TransformReport] = ()) -> None

init(self, *, iterations: int = 0, converged: bool = False, changed: bool = False, transforms: collections.abc.Sequence[clika_runtime._core.io.TransformReport] = ()) -> None

OptimizeReport(*, iterations=0, converged=False, changed=False, transforms=())

A run's report; optimize() returns one.