Trait burn::train::ValidStep

pub trait ValidStep<VI, VO> {
    // Required method
    fn step(&self, item: VI) -> VO;
}
Expand description

Trait to be implemented for validating models.

Required Methods§

fn step(&self, item: VI) -> VO

Runs a validation step.

§Arguments
  • item - The item to validate on.
§Returns

The validation output.

Implementors§