OpAssignArbitaryAPI

Trait OpAssignArbitaryAPI 

Source
pub trait OpAssignArbitaryAPI<T, DC, DA>
where DC: DimAPI, DA: DimAPI, Self: DeviceAPI<T>,
{ // Required method fn assign_arbitary( &self, c: &mut <Self as DeviceRawAPI<T>>::Raw, lc: &Layout<DC>, a: &<Self as DeviceRawAPI<T>>::Raw, la: &Layout<DA>, ) -> Result<()>; }

Required Methods§

Source

fn assign_arbitary( &self, c: &mut <Self as DeviceRawAPI<T>>::Raw, lc: &Layout<DC>, a: &<Self as DeviceRawAPI<T>>::Raw, la: &Layout<DA>, ) -> Result<()>

Element-wise assignment in col-major order, without no promise that input layouts are broadcastable.

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, DC, DA> OpAssignArbitaryAPI<T, DC, DA> for DeviceCpuSerial
where T: Clone, DC: DimAPI, DA: DimAPI,

Source§

impl<T, DC, DA> OpAssignArbitaryAPI<T, DC, DA> for DeviceFaer
where T: Clone + Send + Sync, DC: DimAPI, DA: DimAPI,