Trait finalfusion::storage::StorageView
source · pub trait StorageView: Storage {
// Required method
fn view(&self) -> ArrayView2<'_, f32>;
}
Expand description
Storage that provide a view of the embedding matrix.
Required Methods§
sourcefn view(&self) -> ArrayView2<'_, f32>
fn view(&self) -> ArrayView2<'_, f32>
Get a view of the embedding matrix.