pub trait StorageView: Storage {
    // Required method
    fn view(&self) -> ArrayView2<'_, f32>;
}
Expand description

Storage that provide a view of the embedding matrix.

Required Methods§

source

fn view(&self) -> ArrayView2<'_, f32>

Get a view of the embedding matrix.

Implementors§