OpMinAPI

Trait OpMinAPI 

Source
pub trait OpMinAPI<T, D>: DeviceAPI<T> + DeviceAPI<Self::TOut>
where D: DimAPI,
{ type TOut; // Required methods fn min_all( &self, a: &Self::Raw, la: &Layout<D>, ) -> Result<Self::TOut, Error>; fn min_axes( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, Self::TOut, Self>, Layout<Vec<usize>>), Error>; }

Required Associated Types§

Required Methods§

Source

fn min_all(&self, a: &Self::Raw, la: &Layout<D>) -> Result<Self::TOut, Error>

Source

fn min_axes( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, Self::TOut, Self>, Layout<Vec<usize>>), Error>

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, D> OpMinAPI<T, D> for DeviceOpenBLAS
where T: ExtReal + Send + Sync, D: DimAPI,

Source§

type TOut = T

Source§

impl<T, D> OpMinAPI<T, D> for DeviceCpuSerial
where T: ExtReal, D: DimAPI,

Source§

type TOut = T