Skip to main content

Vectorized

Trait Vectorized 

Source
pub trait Vectorized: CubeType{
    // Provided methods
    fn vector_size(&self) -> usize { ... }
    fn __expand_vector_size(_scope: &mut Scope, this: Self::ExpandType) -> usize { ... }
}

Provided Methods§

Source

fn vector_size(&self) -> usize

Source

fn __expand_vector_size(_scope: &mut Scope, this: Self::ExpandType) -> usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, L> Vectorized for &'a L

Source§

impl<'a, L> Vectorized for &'a mut L

Source§

impl<E, N, IO> Vectorized for VirtualTensor<E, N, IO>
where E: Numeric, N: Size, IO: Clone,

Source§

impl<Q, NQ, S, F, NF, C> Vectorized for QuantizedView<Q, NQ, S, F, NF, C>
where Q: Scalar, NQ: Size, S: Scalar, F: Numeric, NF: Size, C: Coordinates + 'static,

Source§

impl<T, C, IO> Vectorized for View<T, C, IO>
where T: CubePrimitive, C: Coordinates, IO: Clone,

Source§

impl<T, C, S, V> Vectorized for VirtualView<T, C, S, V>

Source§

impl<T, C, S, V> Vectorized for VirtualViewMut<T, C, S, V>

Implementors§

Source§

impl<E, IO> Vectorized for Slice<E, IO>

Source§

impl<E, K> Vectorized for TensorMap<E, K>

Source§

impl<T> Vectorized for Array<T>
where T: CubePrimitive,

Source§

impl<T> Vectorized for SharedMemory<T>
where T: CubePrimitive,

Source§

impl<T> Vectorized for Tensor<T>
where T: CubePrimitive,