Skip to main content

validate_batch

Function validate_batch 

Source
pub fn validate_batch(
    layers: &[Vec<Layer>],
    tensor: &[Vec<Matrix3<Complex<f64>>>],
    energies_ev: &[f64],
) -> Result<()>
Expand description

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