[][src]Trait melange::tensor::layout::Alloc

pub trait Alloc {
    fn alloc(shape: Vec<usize>) -> Self;
}

Required methods

fn alloc(shape: Vec<usize>) -> Self

Loading content...

Implementors

impl<T> Alloc for HeapLayout<T> where
    T: Default + Clone
[src]

Loading content...