pub struct PrunedDeterminizeOptions {
pub beam: f32,
pub beam_ratio: f32,
pub max_retries: usize,
pub determinize: DeterminizeLatticeOptions,
}Expand description
What determinize_lattice_pruned may be asked to do differently.
Fields§
§beam: f32The beam to try first: paths worse than the best by more than this are dropped before determinizing.
beam_ratio: f32What to multiply the beam by when an attempt runs away. Kaldi’s wrapper halves it.
max_retries: usizeHow many times to narrow and try again.
determinize: DeterminizeLatticeOptionsPassed through to determinize_lattice.
Trait Implementations§
Source§impl Clone for PrunedDeterminizeOptions
impl Clone for PrunedDeterminizeOptions
Source§fn clone(&self) -> PrunedDeterminizeOptions
fn clone(&self) -> PrunedDeterminizeOptions
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 PrunedDeterminizeOptions
Source§impl Debug for PrunedDeterminizeOptions
impl Debug for PrunedDeterminizeOptions
Source§impl Default for PrunedDeterminizeOptions
impl Default for PrunedDeterminizeOptions
Source§impl PartialEq for PrunedDeterminizeOptions
impl PartialEq for PrunedDeterminizeOptions
impl StructuralPartialEq for PrunedDeterminizeOptions
Auto Trait Implementations§
impl Freeze for PrunedDeterminizeOptions
impl RefUnwindSafe for PrunedDeterminizeOptions
impl Send for PrunedDeterminizeOptions
impl Sync for PrunedDeterminizeOptions
impl Unpin for PrunedDeterminizeOptions
impl UnsafeUnpin for PrunedDeterminizeOptions
impl UnwindSafe for PrunedDeterminizeOptions
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