pub enum MPSKernelType {
MatrixMultiplication,
Convolution,
ImageFilter,
Reduction,
NeuralNetwork,
}Variants§
MatrixMultiplication
Matrix multiplication.
Convolution
Convolution.
ImageFilter
Image filtering.
Reduction
Reduction operations.
NeuralNetwork
Neural network operations.
Trait Implementations§
Source§impl Clone for MPSKernelType
impl Clone for MPSKernelType
Source§fn clone(&self) -> MPSKernelType
fn clone(&self) -> MPSKernelType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MPSKernelType
Source§impl Debug for MPSKernelType
impl Debug for MPSKernelType
impl Eq for MPSKernelType
Source§impl PartialEq for MPSKernelType
impl PartialEq for MPSKernelType
impl StructuralPartialEq for MPSKernelType
Auto Trait Implementations§
impl Freeze for MPSKernelType
impl RefUnwindSafe for MPSKernelType
impl Send for MPSKernelType
impl Sync for MPSKernelType
impl Unpin for MPSKernelType
impl UnsafeUnpin for MPSKernelType
impl UnwindSafe for MPSKernelType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.