pub struct HyperConnectionHeadWeights {
pub fn_proj: WeightMatrix,
pub scale: f32,
pub base: [f32; 4],
}Expand description
Weights for the final output merge (build_hc_head): same
structure as the pre half of HyperConnectionPreWeights, but
only ever produces the hc-wide merge gate (no post/comb,
since there is no further sub-layer to re-inject into).
Fields§
§fn_proj: WeightMatrix§scale: f32§base: [f32; 4]Auto Trait Implementations§
impl Freeze for HyperConnectionHeadWeights
impl RefUnwindSafe for HyperConnectionHeadWeights
impl Send for HyperConnectionHeadWeights
impl Sync for HyperConnectionHeadWeights
impl Unpin for HyperConnectionHeadWeights
impl UnsafeUnpin for HyperConnectionHeadWeights
impl UnwindSafe for HyperConnectionHeadWeights
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
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