//clika-runtime/io.clika.runtime/ModelGraph/optimize
optimize
[common]
fun optimize(options: OptimizeOptions = OptimizeOptions()): OptimizeReport
Run the graph optimizer with the graph's own transform list, iterated until an iteration changes nothing or the cap stops it; a transform that fails is undone and skipped, and the run goes on. Refuses FAILED_PRECONDITION on a finalized graph.