onnxruntime/onnxruntime/contrib_ops
Yang Chen a5a57a49c4 Changed ConvBase into a class member variable (#1927)
* Changed ConvBase into a class member variable

Currently, all Conv-family classes inherit from both ConvBase
and OpKernel. Since what ConvBase provides is all about
processing convolution attributes, it's more natural to move it as
a class member variable.

This change renamed ConvBase to ConvAttributes and moved
it into a separate file conv_attributes by its own. Instead of
inheriting from ConvBase, now each Conv-related class has a
class member variable that is of type ConvAttributes.

Hence, we removed unecessary multiple inheritance and increase
composibility. More importantly, the change made it possible for
some other providers such as Nuphar be able to re-use the functionalities
provided by ConvAttributes class.

Note that we also made similar changes to ConvTransposeBase.

* fixed cuda build issue
2019-09-26 11:07:06 -07:00
..
cpu Changed ConvBase into a class member variable (#1927) 2019-09-26 11:07:06 -07:00
cuda Fix the issue that it run into alloc failed on multiple cuda device. We have some place hard code the allocator always use device 0. (#1815) 2019-09-12 15:31:59 -07:00
cpu_contrib_kernels.cc New OP: CDist (#1808) 2019-09-17 10:55:31 -07:00
cpu_contrib_kernels.h move all contrib ops to contrib ops namespace (#1190) 2019-06-24 10:19:01 -07:00
cuda_contrib_kernels.cc move all contrib ops to contrib ops namespace (#1190) 2019-06-24 10:19:01 -07:00
cuda_contrib_kernels.h move all contrib ops to contrib ops namespace (#1190) 2019-06-24 10:19:01 -07:00