use microflow_macros::model; use nalgebra::matrix; #[model("models/sine.tflite")] struct Sine; #[test] fn sine_model() { let input = matrix![0.5]; let output = matrix![0.41348344]; assert_eq!(Sine::predict(input), output); }