Enum coaster_nn::RnnAlgorithm
source · pub enum RnnAlgorithm {
Standard,
PersistStatic,
PersistDynamic,
Count,
}
Expand description
Algorithm for RNN [cudnnRNNAlgo_t][1] [1]: https://docs.nvidia.com/deeplearning/sdk/cudnn-api/index.html#cudnnRNNAlgo_t
Persist Static requires v6+
Variants§
Standard
Sequence of Operations for each RNN Layer
PersistStatic
Uses a Persistent Kernel - fast when the first D of the input is small
PersistDynamic
RNN parts use a persistent kernel. Fast when the first dimension is small, and when it can reuse plans in repeated calls.
Count
Count - Cannot find in docs but is in Generated - FIXME
Trait Implementations§
source§impl Clone for RnnAlgorithm
impl Clone for RnnAlgorithm
source§fn clone(&self) -> RnnAlgorithm
fn clone(&self) -> RnnAlgorithm
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 RnnAlgorithm
impl Debug for RnnAlgorithm
source§impl Display for RnnAlgorithm
impl Display for RnnAlgorithm
source§impl PartialEq for RnnAlgorithm
impl PartialEq for RnnAlgorithm
source§fn eq(&self, other: &RnnAlgorithm) -> bool
fn eq(&self, other: &RnnAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RnnAlgorithm
impl Eq for RnnAlgorithm
impl StructuralPartialEq for RnnAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for RnnAlgorithm
impl Send for RnnAlgorithm
impl Sync for RnnAlgorithm
impl Unpin for RnnAlgorithm
impl UnwindSafe for RnnAlgorithm
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