Trait tract_onnx_opl::ml::tree::AggregateFn[][src]

pub trait AggregateFn: Default {
    fn aggregate(&mut self, score: f32, total: &mut f32);

    fn post_aggregate(&mut self, _total: &mut f32) { ... }
}

Required methods

fn aggregate(&mut self, score: f32, total: &mut f32)[src]

Loading content...

Provided methods

fn post_aggregate(&mut self, _total: &mut f32)[src]

Loading content...

Implementors

impl AggregateFn for AvgFn[src]

impl AggregateFn for MaxFn[src]

impl AggregateFn for MinFn[src]

impl AggregateFn for SumFn[src]

Loading content...