pub(crate) fn test<Framework: IFramework + 'static>(
    backend: Rc<Backend<Framework>>,
    batch_size: usize,
    file: &Path
) -> Result<(), Box<dyn Error>>
where Backend<Framework>: IBackend + SolverOps<f32> + LayerOps<f32>,
Expand description

Test a the validation subset of data items against the trained network state.