Enum rcudnn::cudnnBatchNormMode_t
source · #[non_exhaustive]#[repr(u32)]pub enum cudnnBatchNormMode_t {
CUDNN_BATCHNORM_PER_ACTIVATION = 0,
CUDNN_BATCHNORM_SPATIAL = 1,
CUDNN_BATCHNORM_SPATIAL_PERSISTENT = 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.
CUDNN_BATCHNORM_PER_ACTIVATION = 0
CUDNN_BATCHNORM_SPATIAL = 1
CUDNN_BATCHNORM_SPATIAL_PERSISTENT = 2
Trait Implementations§
source§impl Clone for cudnnBatchNormMode_t
impl Clone for cudnnBatchNormMode_t
source§fn clone(&self) -> cudnnBatchNormMode_t
fn clone(&self) -> cudnnBatchNormMode_t
Returns a copy 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 cudnnBatchNormMode_t
impl Debug for cudnnBatchNormMode_t
source§impl Hash for cudnnBatchNormMode_t
impl Hash for cudnnBatchNormMode_t
source§impl PartialEq for cudnnBatchNormMode_t
impl PartialEq for cudnnBatchNormMode_t
source§fn eq(&self, other: &cudnnBatchNormMode_t) -> bool
fn eq(&self, other: &cudnnBatchNormMode_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudnnBatchNormMode_t
impl Eq for cudnnBatchNormMode_t
impl StructuralPartialEq for cudnnBatchNormMode_t
Auto Trait Implementations§
impl RefUnwindSafe for cudnnBatchNormMode_t
impl Send for cudnnBatchNormMode_t
impl Sync for cudnnBatchNormMode_t
impl Unpin for cudnnBatchNormMode_t
impl UnwindSafe for cudnnBatchNormMode_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