#[non_exhaustive]#[repr(u32)]pub enum cudnnSoftmaxAlgorithm_t {
CUDNN_SOFTMAX_FAST = 0,
CUDNN_SOFTMAX_ACCURATE = 1,
CUDNN_SOFTMAX_LOG = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for cudnnSoftmaxAlgorithm_t
impl Clone for cudnnSoftmaxAlgorithm_t
Source§fn clone(&self) -> cudnnSoftmaxAlgorithm_t
fn clone(&self) -> cudnnSoftmaxAlgorithm_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for cudnnSoftmaxAlgorithm_t
impl Debug for cudnnSoftmaxAlgorithm_t
Source§impl Hash for cudnnSoftmaxAlgorithm_t
impl Hash for cudnnSoftmaxAlgorithm_t
Source§impl PartialEq for cudnnSoftmaxAlgorithm_t
impl PartialEq for cudnnSoftmaxAlgorithm_t
impl Copy for cudnnSoftmaxAlgorithm_t
impl Eq for cudnnSoftmaxAlgorithm_t
impl StructuralPartialEq for cudnnSoftmaxAlgorithm_t
Auto Trait Implementations§
impl Freeze for cudnnSoftmaxAlgorithm_t
impl RefUnwindSafe for cudnnSoftmaxAlgorithm_t
impl Send for cudnnSoftmaxAlgorithm_t
impl Sync for cudnnSoftmaxAlgorithm_t
impl Unpin for cudnnSoftmaxAlgorithm_t
impl UnwindSafe for cudnnSoftmaxAlgorithm_t
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