Adding export registration and tests for custom ops#4248
Conversation
|
The names of the new files seem generic. However this pertains to pytorch converter only, right? Can we update the names of the files to reflect that? |
also, if these are test cases, they don't seem to belong in the tools directory? |
|
@jywu-msft I agree. I'm still not sure what's the best place for the code (for both op registrations and tests). Please let me know if you have a suggestion. |
In order for the CI to find tests and copy them to build dir, they have to be in specific places. As this test is useful for both inference and training, I suggest putting them https://github.com/microsoft/onnxruntime/tree/master/onnxruntime/test/python. It has to have test in the name too |
…ntime into neraoof/customOpExport # Conflicts: # tools/ci_build/github/azure-pipelines/linux-ort-pytorch-ci-pipeline.yml
|
cc @BowenBao Could you please review the PR and document for export of custom ops? Thanks! |
…neraoof/customOpExport
|
…ntime into neraoof/customOpExport
Description:
Adding export registration and tests for custom onnxruntime ops.
Motivation and Context