//clika-runtime/io.clika.runtime/DefaultsOptions
DefaultsOptions
[common]
data class DefaultsOptions(val specialize: Boolean = false, val shapeFixation: Boolean = false, val channelsLastInputs: Boolean = false, val channelsLastOutputs: Boolean = false)
The choices the optimizer's transforms read: specialize collapses the shape arithmetic the compile's pinned shapes fix (a graph compiled from ONNX), shapeFixation the same for a traced graph's static dims, and the two channels-last choices omit the layout conversions at the inputs or the outputs (changing those slots' contract: read the specs after).
Constructors
| DefaultsOptions | [common] constructor(specialize: Boolean = false, shapeFixation: Boolean = false, channelsLastInputs: Boolean = false, channelsLastOutputs: Boolean = false) |
Properties
| Name | Summary |
|---|---|
| channelsLastInputs | [common] val channelsLastInputs: Boolean = false |
| channelsLastOutputs | [common] val channelsLastOutputs: Boolean = false |
| shapeFixation | [common] val shapeFixation: Boolean = false |
| specialize | [common] val specialize: Boolean = false |