#[non_exhaustive]
#[repr(u32)]
pub enum cudnnPointwiseMode_t {
Show 43 variants CUDNN_POINTWISE_ADD = 0, CUDNN_POINTWISE_ADD_SQUARE = 5, CUDNN_POINTWISE_DIV = 6, CUDNN_POINTWISE_MAX = 3, CUDNN_POINTWISE_MIN = 2, CUDNN_POINTWISE_MOD = 7, CUDNN_POINTWISE_MUL = 1, CUDNN_POINTWISE_POW = 8, CUDNN_POINTWISE_SUB = 9, CUDNN_POINTWISE_ABS = 10, CUDNN_POINTWISE_CEIL = 11, CUDNN_POINTWISE_COS = 12, CUDNN_POINTWISE_EXP = 13, CUDNN_POINTWISE_FLOOR = 14, CUDNN_POINTWISE_LOG = 15, CUDNN_POINTWISE_NEG = 16, CUDNN_POINTWISE_RSQRT = 17, CUDNN_POINTWISE_SIN = 18, CUDNN_POINTWISE_SQRT = 4, CUDNN_POINTWISE_TAN = 19, CUDNN_POINTWISE_RELU_FWD = 100, CUDNN_POINTWISE_TANH_FWD = 101, CUDNN_POINTWISE_SIGMOID_FWD = 102, CUDNN_POINTWISE_ELU_FWD = 103, CUDNN_POINTWISE_GELU_FWD = 104, CUDNN_POINTWISE_SOFTPLUS_FWD = 105, CUDNN_POINTWISE_SWISH_FWD = 106, CUDNN_POINTWISE_RELU_BWD = 200, CUDNN_POINTWISE_TANH_BWD = 201, CUDNN_POINTWISE_SIGMOID_BWD = 202, CUDNN_POINTWISE_ELU_BWD = 203, CUDNN_POINTWISE_GELU_BWD = 204, CUDNN_POINTWISE_SOFTPLUS_BWD = 205, CUDNN_POINTWISE_SWISH_BWD = 206, CUDNN_POINTWISE_CMP_EQ = 300, CUDNN_POINTWISE_CMP_NEQ = 301, CUDNN_POINTWISE_CMP_GT = 302, CUDNN_POINTWISE_CMP_GE = 303, CUDNN_POINTWISE_CMP_LT = 304, CUDNN_POINTWISE_CMP_LE = 305, CUDNN_POINTWISE_LOGICAL_AND = 400, CUDNN_POINTWISE_LOGICAL_OR = 401, CUDNN_POINTWISE_LOGICAL_NOT = 402,
}

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_POINTWISE_ADD = 0

§

CUDNN_POINTWISE_ADD_SQUARE = 5

§

CUDNN_POINTWISE_DIV = 6

§

CUDNN_POINTWISE_MAX = 3

§

CUDNN_POINTWISE_MIN = 2

§

CUDNN_POINTWISE_MOD = 7

§

CUDNN_POINTWISE_MUL = 1

§

CUDNN_POINTWISE_POW = 8

§

CUDNN_POINTWISE_SUB = 9

§

CUDNN_POINTWISE_ABS = 10

§

CUDNN_POINTWISE_CEIL = 11

§

CUDNN_POINTWISE_COS = 12

§

CUDNN_POINTWISE_EXP = 13

§

CUDNN_POINTWISE_FLOOR = 14

§

CUDNN_POINTWISE_LOG = 15

§

CUDNN_POINTWISE_NEG = 16

§

CUDNN_POINTWISE_RSQRT = 17

§

CUDNN_POINTWISE_SIN = 18

§

CUDNN_POINTWISE_SQRT = 4

§

CUDNN_POINTWISE_TAN = 19

§

CUDNN_POINTWISE_RELU_FWD = 100

§

CUDNN_POINTWISE_TANH_FWD = 101

§

CUDNN_POINTWISE_SIGMOID_FWD = 102

§

CUDNN_POINTWISE_ELU_FWD = 103

§

CUDNN_POINTWISE_GELU_FWD = 104

§

CUDNN_POINTWISE_SOFTPLUS_FWD = 105

§

CUDNN_POINTWISE_SWISH_FWD = 106

§

CUDNN_POINTWISE_RELU_BWD = 200

§

CUDNN_POINTWISE_TANH_BWD = 201

§

CUDNN_POINTWISE_SIGMOID_BWD = 202

§

CUDNN_POINTWISE_ELU_BWD = 203

§

CUDNN_POINTWISE_GELU_BWD = 204

§

CUDNN_POINTWISE_SOFTPLUS_BWD = 205

§

CUDNN_POINTWISE_SWISH_BWD = 206

§

CUDNN_POINTWISE_CMP_EQ = 300

§

CUDNN_POINTWISE_CMP_NEQ = 301

§

CUDNN_POINTWISE_CMP_GT = 302

§

CUDNN_POINTWISE_CMP_GE = 303

§

CUDNN_POINTWISE_CMP_LT = 304

§

CUDNN_POINTWISE_CMP_LE = 305

§

CUDNN_POINTWISE_LOGICAL_AND = 400

§

CUDNN_POINTWISE_LOGICAL_OR = 401

§

CUDNN_POINTWISE_LOGICAL_NOT = 402

Trait Implementations§

source§

impl Clone for cudnnPointwiseMode_t

source§

fn clone(&self) -> cudnnPointwiseMode_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for cudnnPointwiseMode_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for cudnnPointwiseMode_t

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for cudnnPointwiseMode_t

source§

fn eq(&self, other: &cudnnPointwiseMode_t) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for cudnnPointwiseMode_t

source§

impl Eq for cudnnPointwiseMode_t

source§

impl StructuralPartialEq for cudnnPointwiseMode_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.