use ndarray::array;
use onnx_export_rs::{
canonical::LogisticModelWeights, exporters::export_logistic, save_to_file, Result,
};
fn main() -> Result<()> {
let weights = LogisticModelWeights::new(
array![[1.0, 0.0], [0.0, 1.0], [-1.0, -1.0]],
array![0.0, 0.0, 0.0],
3,
)?;
save_to_file(&export_logistic(&weights), "logistic.onnx")
}