pub trait InferenceStep { type Input: Send + 'static; type Output: ItemLazy + 'static; // Required method fn step(&self, item: Self::Input) -> Self::Output; }
Trait to be implemented for validating models.
Type of input for an inference step.
Type of output for an inference step.
Runs a validation step.
item
The validation output.