oa::ml::nn::Mamba3State

Explicit recurrent cache for one Mamba3 module and batch size. The cache owns the selective state, cumulative rotary angle, previous key, and previous value buffers. It is deliberately separate from the module so independent decoding streams never share hidden mutable state.

StRust public API

Declaration

pub struct Mamba3State { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn batch_size(&self) -> usize

Public Method Documentation

pub const fn batch_size( &self ) -> usize
No public source comment is attached to this declaration.