Realm

oa::ml::nn::EmpyrealmState

Caller-owned per-block decode state for Empyrealm. Entries mirror the block schedule one to one: Mamba-3 blocks own a Mamba3State and attention blocks own an AttentionCache. Obtaining it through Empyrealm::new_state binds it to that module instance and keeps every child owner check intact.

StRust public API

Declaration

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

Public Methods

pub const fn batch_size(&self) -> usize
pub fn layer_count(&self) -> usize

Public Method Documentation

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