Enum rcudnn_sys::cudnnActivationMode_t [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudnnActivationMode_t {
CUDNN_ACTIVATION_SIGMOID,
CUDNN_ACTIVATION_RELU,
CUDNN_ACTIVATION_TANH,
CUDNN_ACTIVATION_CLIPPED_RELU,
CUDNN_ACTIVATION_ELU,
CUDNN_ACTIVATION_IDENTITY,
CUDNN_ACTIVATION_SWISH,
}
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_ACTIVATION_SIGMOID
CUDNN_ACTIVATION_RELU
CUDNN_ACTIVATION_TANH
CUDNN_ACTIVATION_CLIPPED_RELU
CUDNN_ACTIVATION_ELU
CUDNN_ACTIVATION_IDENTITY
CUDNN_ACTIVATION_SWISH
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudnnActivationMode_t
impl Send for cudnnActivationMode_t
impl Sync for cudnnActivationMode_t
impl Unpin for cudnnActivationMode_t
impl UnwindSafe for cudnnActivationMode_t
Blanket Implementations
Mutably borrows from an owned value. Read more