pub struct ParallelBranchConfig {
pub max_branches: usize,
pub sync_penalty: f32,
pub balance_weight: f32,
pub temperature: f32,
}Fields§
§max_branches: usizeMaximum number of parallel branches to consider
sync_penalty: f32Penalty for synchronization between branches
balance_weight: f32Weight for branch balance in attention computation
temperature: f32Temperature for softmax
Trait Implementations§
Source§impl Clone for ParallelBranchConfig
impl Clone for ParallelBranchConfig
Source§fn clone(&self) -> ParallelBranchConfig
fn clone(&self) -> ParallelBranchConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParallelBranchConfig
impl Debug for ParallelBranchConfig
Auto Trait Implementations§
impl Freeze for ParallelBranchConfig
impl RefUnwindSafe for ParallelBranchConfig
impl Send for ParallelBranchConfig
impl Sync for ParallelBranchConfig
impl Unpin for ParallelBranchConfig
impl UnsafeUnpin for ParallelBranchConfig
impl UnwindSafe for ParallelBranchConfig
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