pub trait OpUnraveledArgMaxAPI<T, D>: DeviceAPI<T>where
D: DimAPI,{
// Required methods
fn unraveled_argmax_all(
&self,
a: &Self::Raw,
la: &Layout<D>,
) -> Result<D, Error>;
fn unraveled_argmax_axes(
&self,
a: &Self::Raw,
la: &Layout<D>,
axes: &[isize],
) -> Result<(Storage<DataOwned<Self::Raw>, Vec<usize>, Self>, Layout<Vec<usize>>), Error>
where Self: DeviceAPI<Vec<usize>>;
}
Required Methods§
fn unraveled_argmax_all( &self, a: &Self::Raw, la: &Layout<D>, ) -> Result<D, Error>
fn unraveled_argmax_axes( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, Vec<usize>, 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.