TransposeOp

Trait TransposeOp 

Source
pub trait TransposeOp<T, IS: Shape = (), OS: Shape = (), D: Device = Self>: Device {
    // Required method
    fn transpose(&self, x: &Matrix<'_, T, D, IS>) -> Matrix<'_, T, Self, OS>;
}

Required Methods§

Source

fn transpose(&self, x: &Matrix<'_, T, D, IS>) -> Matrix<'_, T, Self, OS>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: CDatatype> TransposeOp<T> for OpenCL

Available on crate feature opencl only.
Source§

impl<T: Default + Copy, D: MainMemory, IS: Shape, OS: Shape> TransposeOp<T, IS, OS, D> for CPU

Available on crate feature cpu only.