Skip to main content

//clika-runtime/io.clika.runtime/ModelGraph/finalizeGraph

finalizeGraph

[common]
fun finalizeGraph()

Finalize the graph for serving: place it on its device, pack the weights into their kernel layouts, absorb the constants and plan the execution order. A second call changes nothing. (The name carries the word Graph because finalize alone is the JVM's own method.)