oa::ml::NamedBuffer

Owned dotted path and non-trainable Matrix buffer.

StRust public API

Declaration

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

Public Methods

pub fn path(&self) -> &str
pub fn data(&self) -> Matrix
pub const fn persistent(&self) -> bool

Public Method Documentation

pub fn path( &self ) -> &str
No public source comment is attached to this declaration.
pub fn data( &self ) -> Matrix
No public source comment is attached to this declaration.
pub const fn persistent( &self ) -> bool
No public source comment is attached to this declaration.