Skip to content

Use GraphView.getOrderedNodes instead of ad-hoc topological sorts

I have noticed a lot of functions are parsing graphviews in order to explore it in a topological order

  • ONNX export
  • GraphView.forwardDims
  • GraphView.forwardDType
  • set_qdq

This function would allow to mutualize this parsing logic.

This would allow to have an order without using a Scheduler and thus with not requiring an implementation