[][src]Trait tensor_macros::traits::Tensor

pub trait Tensor: Index<usize> + IndexMut<usize> + PartialEq + Debug + Default + Copy + Clone {
    type Value: TensorTrait;

    const SIZE: usize;
    const NDIM: usize;

    fn dims() -> Vec<usize>;
fn get_dims(&self) -> Vec<usize>; }

Associated Types

Loading content...

Associated Constants

const SIZE: usize

const NDIM: usize

Loading content...

Required methods

fn dims() -> Vec<usize>

fn get_dims(&self) -> Vec<usize>

Loading content...

Implementors

Loading content...