onnxruntime
0d0eb2c8 - Change OpKernel class to be shared with shared providers (#6837)

Commit
4 years ago
Change OpKernel class to be shared with shared providers (#6837) In the previous shared providers there aren't many OpKernel classes, and the existing Provider_OpKernel wrapper was fine. With the opposibility of making Cuda a shared provider, having this need to be changed per OpKernel adds a lot of complexity. It was fairly straightforward to make OpKernel work with shared providers with minimal changes. In this change, the ONNX_OPERATOR_* macros can also be shared with the shared providers.
Author
Parents
Loading