[][src]Trait tensor_compute::prelude::MutShapeStrideTrait

pub trait MutShapeStrideTrait: ShapeStrideTrait {
    fn increase_rank(&mut self);
fn decrease_rank(&mut self); }

Required methods

fn increase_rank(&mut self)

Artificially increase the rank, setting the new dimension shape to 1

fn decrease_rank(&mut self)

Decrease the rank if the leading shape dimension is 1, otherwise panics

Loading content...

Implementors

impl MutShapeStrideTrait for GpuTensor[src]

impl<'a> MutShapeStrideTrait for GpuTensorView<'a>[src]

impl<'a> MutShapeStrideTrait for GpuTensorViewMut<'a>[src]

Loading content...