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

pub trait LayoutMut<'a, T>: DerefMut<Target = [T]> where
    T: 'a, 
{ type IterMut: Iterator<Item = &'a mut [T]>; fn chunks_mut(&'a mut self, chunk_size: usize) -> Self::IterMut; }

Associated Types

Loading content...

Required methods

fn chunks_mut(&'a mut self, chunk_size: usize) -> Self::IterMut

Loading content...

Implementors

impl<'a, T> LayoutMut<'a, T> for HeapLayout<T> where
    T: 'a, 
[src]

type IterMut = ChunksMut<'a, T>

impl<'a, T, S> LayoutMut<'a, T> for StackLayout<T, S> where
    S: StaticShape + NumElements<T>,
    <S as NumElements<T>>::Output: 'static,
    T: 'a, 
[src]

type IterMut = ChunksMut<'a, T>

impl<'a, T, S> LayoutMut<'a, T> for StaticHeapLayout<T, S> where
    T: 'a, 
[src]

type IterMut = ChunksMut<'a, T>

Loading content...