You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
import_model/import_onnx/import_to_gluon.py are basically doing similar things, just put them in import_onnx.py. Same story for export_model/export_onnx.
Name of highest level APIs, e.g., import_model, get_model_metadata, import_to_gluon, export_model are totally dummy and missing valid info. I suggest to use import_onnx, get_onnx_metadata, export_onnx, import_to_gluon can be deleted and merged as an option for example import_onnx(to_gluon=True)
Testing
It's a minor issue compared to naming.
onnx unittest is special because it relies on onnx.tests
In near future I don't expect other modules to use pytest
Based on these, I think python-pytest is not a good place to go, and onnx deserves a separate test folder due to it's special dependency.
This thread tracks additional concerns of PR #11213
Naming of modules in python/mxnet/contrib/onnx:
import_onnx,get_onnx_metadata,export_onnx,import_to_gluoncan be deleted and merged as an option for exampleimport_onnx(to_gluon=True)Testing
It's a minor issue compared to naming.
Based on these, I think
python-pytestis not a good place to go, andonnxdeserves a separate test folder due to it's special dependency.