nodefluxio / vortex

A Deep Learning Model Development Framework for Computer Vision
27 stars 6 forks source link

[FEATURE] Refactor onnx graph ops function and registry #95

Closed alifahrri closed 3 years ago

alifahrri commented 3 years ago

Is your feature request related to a problem? Please describe. Existing graph ops represented as function only and the graph registry method is clunky. This makes graph ops less flexible when calling/creating graph_ops outside exporter. For example we want to specify list of ops to be performed on model, from another function/class.

Describe the solution you'd like Represent graph ops as callable class, clean up graph ops registry.