---
title: "ClikaRT::nn::KVLayerSpec::ConvState"
sidebar_label: "KVLayerSpec::ConvState"
description: "One short-conv rolling window: dim channels × width taps, the slab causal_conv_update binds as its state."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/nn/kv_cache.h`

One short-conv rolling window: [`dim`](./KVLayerSpec.ConvState.md#dim) channels × [`width`](./KVLayerSpec.ConvState.md#width) taps, the slab `causal_conv_update` binds as its state.

## Data members

### dim {#dim}

<div class="api-signature">

`int64_t` **`dim`** `= 0`

</div>

Channels of the rolling window.

<div class="api-declared">

Declared in `ClikaRT/nn/kv_cache.h`, line 209

</div>

### width {#width}

<div class="api-signature">

`int64_t` **`width`** `= 0`

</div>

Taps (window length) per channel.

<div class="api-declared">

Declared in `ClikaRT/nn/kv_cache.h`, line 211

</div>
