oa::data::MatrixDataset
Dense labeled feature/label pair implementing Dataset. x is a rank-≥1 [N, ...] F32 feature matrix and y a [N] F32 label vector on the same runtime. get_item returns the rank-(N-1) feature slice; get_sample pairs it with the [1] label slice — the contract DataLoader/collate expect for labeled corpora. Dataset packs and synthetic benchmarks build their Dataset impl on this type instead of repeating bounds, slice, and pairing logic.
Declaration
pub struct MatrixDataset { /* private fields */ }Public Rust declaration.
Public Methods
Associated Functions
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.
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.