#[repr(C)]pub struct RnnParams {}Expand description
Layout for Elman RNN (native WGSL). 68→padded. relu selects activation.
Fields§
§batch: u32§seq: u32§input_size: u32§x_off: u32§wih_off: u32§whh_off: u32§bias_off: u32§out_off: u32§seq_stride: u32§relu: u32§_p1: u32§_p2: u32§_p3: u32§_p4: u32§_p5: u32Trait Implementations§
impl Copy for RnnParams
impl Pod for RnnParams
Auto Trait Implementations§
impl Freeze for RnnParams
impl RefUnwindSafe for RnnParams
impl Send for RnnParams
impl Sync for RnnParams
impl Unpin for RnnParams
impl UnsafeUnpin for RnnParams
impl UnwindSafe for RnnParams
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more