pub struct SkipChainConfig {
pub n_labels: usize,
pub max_bp_iters: usize,
pub bp_tol: f64,
}Expand description
Configuration for a skip-chain CRF.
Fields§
§n_labels: usizeNumber of labels per position.
max_bp_iters: usizeMaximum number of loopy-BP iterations.
bp_tol: f64Convergence tolerance on the max absolute message change (log domain).
Trait Implementations§
Source§impl Clone for SkipChainConfig
impl Clone for SkipChainConfig
Source§fn clone(&self) -> SkipChainConfig
fn clone(&self) -> SkipChainConfig
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 SkipChainConfig
impl RefUnwindSafe for SkipChainConfig
impl Send for SkipChainConfig
impl Sync for SkipChainConfig
impl Unpin for SkipChainConfig
impl UnsafeUnpin for SkipChainConfig
impl UnwindSafe for SkipChainConfig
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