---
title: "OptimizeReport"
sidebar_label: "OptimizeReport"
description: "The clika_runtime.graph OptimizeReport class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

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__`

```python
__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.
