oa::data::Dataset
Object-safe dataset contract: indexed access and a total count. Corresponds to the C++ pure-virtual oa::Dataset base class.
Declaration
pub trait Dataset { // Required methods fn len(&self) -> i64; fn get_item(&self, index: i64) -> Result<Matrix>; // Provided methods fn is_empty(&self) -> bool { ... } fn get_sample(&self, index: i64) -> Result<Sample> { ... } fn subset(&self, indices: Vec<i64>) -> Result<Subset<'_>> where Self: Sized { ... } }Public Rust declaration.
Public Methods
Public Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.