use ndarray::array;
use onnx_export_rs::{
canonical::LinearModelWeights, exporters::export_linear, save_to_file, Result,
};
fn main() -> Result<()> {
let weights = LinearModelWeights::new(array![2.0, -1.0, 0.5], 0.25);
save_to_file(&export_linear(&weights), "linear.onnx")
}