Skip to main content

validate_batch

Function validate_batch 

pub fn validate_batch(
    layers: &[Vec<Layer>],
    tensor: &[Vec<Matrix<Complex<f64>, Const<3>, Const<3>, ArrayStorage<Complex<f64>, 3, 3>>>],
    energies_ev: &[f64],
) -> Result<(), RefloxideError>
Expand description

Shape and energy checks shared by the batched CPU and GPU entry points.