Simple runner to decompose ONNX operators and verify functional equivalence.
- Node.js (v18 or higher)
- Clone or extract this folder.
- Place your
model.onnxin this directory. - Install dependencies:
npm install- Run Transformation:
npm run transformGenerates model_transformed.onnx.
- Run Equivalence Check:
npm run verifyExecutes both models in ONNX Runtime and asserts outputs match within tolerance.
- Customize Recipes:
Edit
activeRecipesintransform.tsto enable or disable specific operator transformations.