pub struct HyperConnectionDescriptor {
pub batch: i32,
pub hidden_dim: i32,
pub n_streams: i32,
pub sinkhorn_iters: i32,
pub eps: f32,
pub element: ElementKind,
}Expand description
Descriptor for a HyperConnectionPlan (static-H FW).
Fields§
§batch: i32Batch size — outer dim of x_expanded.
Hidden dim — innermost dim of x_expanded / out / RMSNorm.
n_streams: i32Number of parallel residual streams (n in the paper). Must
be in 1..=32.
sinkhorn_iters: i32Sinkhorn-Knopp iteration count. Paper uses 20; the kernel
rejects anything outside 1..=1000.
eps: f32Epsilon added to the RMSNorm denominator and used as the
Sinkhorn divide-by-zero guard. Paper uses 1e-5.
element: ElementKindElement type for x_expanded / out (f32 in Tier 1).
Trait Implementations§
Source§impl Clone for HyperConnectionDescriptor
impl Clone for HyperConnectionDescriptor
Source§fn clone(&self) -> HyperConnectionDescriptor
fn clone(&self) -> HyperConnectionDescriptor
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 moreimpl Copy for HyperConnectionDescriptor
Auto Trait Implementations§
impl Freeze for HyperConnectionDescriptor
impl RefUnwindSafe for HyperConnectionDescriptor
impl Send for HyperConnectionDescriptor
impl Sync for HyperConnectionDescriptor
impl Unpin for HyperConnectionDescriptor
impl UnsafeUnpin for HyperConnectionDescriptor
impl UnwindSafe for HyperConnectionDescriptor
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