onnx2pytorch
onnx2pytorch copied to clipboard
Refactor ConvertModel and Loop
trafficstars
There is a lot of code similarities in ConvertModel and Loop. Try to refactor it in such a way that the code is re-used. Creating a base class for both of them or one inheriting another one would be a viable option.