pub struct GatherAddStage {
pub input_name: String,
pub weight_key: String,
pub axis: usize,
}Expand description
Add a gather-from-input embedding to the active hidden tensor.
Fields§
§input_name: String§weight_key: String§axis: usizeImplementations§
Trait Implementations§
Source§impl Clone for GatherAddStage
impl Clone for GatherAddStage
Source§fn clone(&self) -> GatherAddStage
fn clone(&self) -> GatherAddStage
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 GatherAddStage
impl RefUnwindSafe for GatherAddStage
impl Send for GatherAddStage
impl Sync for GatherAddStage
impl Unpin for GatherAddStage
impl UnsafeUnpin for GatherAddStage
impl UnwindSafe for GatherAddStage
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