fn run_prior(
model: &OnnxModel,
vol: &[f64],
grid: &Grid,
) -> Result<Vec<f64>, OnnxError>Expand description
Run the 2-in / 2-out CNN prior on a column-major volume. vol is interleaved
[ch0, ch1] per voxel (length 2·n); output is the same interleaved layout.