pub struct CtcHypothesis {
pub labels: Vec<usize>,
pub log_prob: f64,
}Expand description
A scored CTC decoding hypothesis returned by ctc_prefix_beam_search.
Fields§
§labels: Vec<usize>The decoded label sequence.
log_prob: f64Total log-probability of the prefix (summed over alignments).
Trait Implementations§
Source§impl Clone for CtcHypothesis
impl Clone for CtcHypothesis
Source§fn clone(&self) -> CtcHypothesis
fn clone(&self) -> CtcHypothesis
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 moreSource§impl Debug for CtcHypothesis
impl Debug for CtcHypothesis
Source§impl PartialEq for CtcHypothesis
impl PartialEq for CtcHypothesis
Source§fn eq(&self, other: &CtcHypothesis) -> bool
fn eq(&self, other: &CtcHypothesis) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CtcHypothesis
Auto Trait Implementations§
impl Freeze for CtcHypothesis
impl RefUnwindSafe for CtcHypothesis
impl Send for CtcHypothesis
impl Sync for CtcHypothesis
impl Unpin for CtcHypothesis
impl UnsafeUnpin for CtcHypothesis
impl UnwindSafe for CtcHypothesis
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