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