Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ONNX-Flow Client Starter

Simple runner to decompose ONNX operators and verify functional equivalence.

Prerequisites

  • Node.js (v18 or higher)

Setup

  1. Clone or extract this folder.
  2. Place your model.onnx in this directory.
  3. Install dependencies:
npm install

Usage

  • Run Transformation:
npm run transform

Generates model_transformed.onnx.

  • Run Equivalence Check:
npm run verify

Executes both models in ONNX Runtime and asserts outputs match within tolerance.

  • Customize Recipes: Edit activeRecipes in transform.ts to enable or disable specific operator transformations.

About

Example script on how to use ONNX-Flow transformations

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages