[][src]Trait rustfst::semirings::WeightQuantize

pub trait WeightQuantize: Semiring {
    fn quantize_assign(&mut self, delta: f32) -> Result<()>;

    fn quantize(&self, delta: f32) -> Result<Self> { ... }
}

Required methods

fn quantize_assign(&mut self, delta: f32) -> Result<()>

Loading content...

Provided methods

fn quantize(&self, delta: f32) -> Result<Self>

Loading content...

Implementors

impl WeightQuantize for LogWeight[src]

impl WeightQuantize for ProbabilityWeight[src]

impl WeightQuantize for StringWeightLeft[src]

impl WeightQuantize for StringWeightRestrict[src]

impl WeightQuantize for StringWeightRight[src]

impl WeightQuantize for TropicalWeight[src]

impl<W1, W2> WeightQuantize for ProductWeight<W1, W2> where
    W1: WeightQuantize,
    W2: WeightQuantize
[src]

impl<W> WeightQuantize for GallicWeight<W> where
    W: WeightQuantize
[src]

impl<W> WeightQuantize for GallicWeightLeft<W> where
    W: WeightQuantize
[src]

impl<W> WeightQuantize for GallicWeightMin<W> where
    W: WeightQuantize
[src]

impl<W> WeightQuantize for GallicWeightRestrict<W> where
    W: WeightQuantize
[src]

impl<W> WeightQuantize for GallicWeightRight<W> where
    W: WeightQuantize
[src]

impl<W, O> WeightQuantize for UnionWeight<W, O> where
    W: WeightQuantize,
    O: UnionWeightOption<W>, 
[src]

Loading content...