Demonstrates the simplest Python-API workflow to load an NNFW model, allocate inputs, run inference, and report success.
- Load an
.nnpackagemodel - Automatically query input tensor shapes
- Allocate zero-filled NumPy arrays for each input
- Perform a single inference call via
session.infer(...) - Print a confirmation message
python minimal.py /path/to/your_model.nnpackage [backends]/path/to/your_model.nnpackage– path to your NNFW package or model filebackends(optional) – backend string (e.g. "cpu", "gpu"); defaults to "cpu"