Enum rcudnn_sys::cudnnRNNAlgo_t
source · #[non_exhaustive]#[repr(u32)]pub enum cudnnRNNAlgo_t {
CUDNN_RNN_ALGO_STANDARD = 0,
CUDNN_RNN_ALGO_PERSIST_STATIC = 1,
CUDNN_RNN_ALGO_PERSIST_DYNAMIC = 2,
CUDNN_RNN_ALGO_PERSIST_STATIC_SMALL_H = 3,
CUDNN_RNN_ALGO_COUNT = 4,
}
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_RNN_ALGO_STANDARD = 0
CUDNN_RNN_ALGO_PERSIST_STATIC = 1
CUDNN_RNN_ALGO_PERSIST_DYNAMIC = 2
CUDNN_RNN_ALGO_PERSIST_STATIC_SMALL_H = 3
CUDNN_RNN_ALGO_COUNT = 4
Trait Implementations§
source§impl Clone for cudnnRNNAlgo_t
impl Clone for cudnnRNNAlgo_t
source§fn clone(&self) -> cudnnRNNAlgo_t
fn clone(&self) -> cudnnRNNAlgo_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 cudnnRNNAlgo_t
impl Debug for cudnnRNNAlgo_t
source§impl Hash for cudnnRNNAlgo_t
impl Hash for cudnnRNNAlgo_t
source§impl PartialEq for cudnnRNNAlgo_t
impl PartialEq for cudnnRNNAlgo_t
source§fn eq(&self, other: &cudnnRNNAlgo_t) -> bool
fn eq(&self, other: &cudnnRNNAlgo_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudnnRNNAlgo_t
impl Eq for cudnnRNNAlgo_t
impl StructuralPartialEq for cudnnRNNAlgo_t
Auto Trait Implementations§
impl RefUnwindSafe for cudnnRNNAlgo_t
impl Send for cudnnRNNAlgo_t
impl Sync for cudnnRNNAlgo_t
impl Unpin for cudnnRNNAlgo_t
impl UnwindSafe for cudnnRNNAlgo_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