pub struct GdnScanStage {
pub state_size: usize,
pub out_shape: Shape,
pub carry_state: bool,
pub state_key: Option<String>,
}Expand description
Q/K/V/G/Beta tensors must already be shaped [batch, seq, heads, state].
Fields§
§state_size: usize§out_shape: Shape§carry_state: bool§state_key: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for GdnScanStage
impl Clone for GdnScanStage
Source§fn clone(&self) -> GdnScanStage
fn clone(&self) -> GdnScanStage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GdnScanStage
impl RefUnwindSafe for GdnScanStage
impl Send for GdnScanStage
impl Sync for GdnScanStage
impl Unpin for GdnScanStage
impl UnsafeUnpin for GdnScanStage
impl UnwindSafe for GdnScanStage
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