---
title: "DefaultsOptions"
sidebar_label: "DefaultsOptions"
description: "Kotlin binding reference: DefaultsOptions."
---

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

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[DefaultsOptions](index.md)

# DefaultsOptions

[common]\
data class [DefaultsOptions](index.md)(val specialize: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, val shapeFixation: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, val channelsLastInputs: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, val channelsLastOutputs: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false)

The choices the optimizer's transforms read: [specialize](specialize.md) collapses the shape arithmetic the compile's pinned shapes fix (a graph compiled from ONNX), [shapeFixation](shapeFixation.md) 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](DefaultsOptions.md) | [common]<br>constructor(specialize: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, shapeFixation: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, channelsLastInputs: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false, channelsLastOutputs: [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false) |

## Properties

| Name | Summary |
|---|---|
| [channelsLastInputs](channelsLastInputs.md) | [common]<br>val [channelsLastInputs](channelsLastInputs.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false |
| [channelsLastOutputs](channelsLastOutputs.md) | [common]<br>val [channelsLastOutputs](channelsLastOutputs.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false |
| [shapeFixation](shapeFixation.md) | [common]<br>val [shapeFixation](shapeFixation.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false |
| [specialize](specialize.md) | [common]<br>val [specialize](specialize.md): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) = false |