Skip to main content

FactorKernel

Trait FactorKernel 

Source
pub trait FactorKernel {
    // Required methods
    fn param_count(&self) -> usize;
    fn build(&self, params: &[f32]) -> Result<DiscreteFactor, String>;
}

Required Methods§

Source

fn param_count(&self) -> usize

Source

fn build(&self, params: &[f32]) -> Result<DiscreteFactor, String>

Implementors§