tensil-ai / tensil

Open source machine learning accelerators
https://www.tensil.ai
Other
348 stars 28 forks source link

Optimize ONNX node traversal #58

Closed petrohi closed 2 years ago

petrohi commented 2 years ago

Previous algorithm did traversal for all possible paths in the model graph and later applied distinct to prune the redundancy. With this change the algorithm terminates the path once previously traversed node is reached.

shortcut-integration[bot] commented 2 years ago

This pull request has been linked to Shortcut Story #461: Optimize ONNX node traversal.