Skip to main content

run_mindgrab

Function run_mindgrab 

Source
fn run_mindgrab(
    magnitude: &[f64],
    grid: &Grid,
    affine: &[f64; 16],
    params: &MindGrabParams,
) -> Result<Vec<u8>, PipelineError>
Expand description

Source the MindGrab weights and run it. Requires the onnx feature; weights come from the model registry through crate::models (supplied bytes first, then local/download on native).