Update conv and convdepth wise operators
- Move code definition in an external cpp file in src directory - Remove InChannels, OutChannels, NbChannels from the list of attributes as they are only used for creating the associated Producer. They are kept as parameters of the Operator factory function to continue creating Weight and Bias Producers automatically. The number of in/out channels is now based on the Weight parameter - 'Conv_Op::inChannels()', 'Conv_Op::outChannels()', 'ConvDepthWise::nbChannels()' functons added
Showing
- include/aidge/operator/Conv.hpp 21 additions, 125 deletionsinclude/aidge/operator/Conv.hpp
- include/aidge/operator/ConvDepthWise.hpp 18 additions, 117 deletionsinclude/aidge/operator/ConvDepthWise.hpp
- python_binding/operator/pybind_Conv.cpp 23 additions, 19 deletionspython_binding/operator/pybind_Conv.cpp
- python_binding/operator/pybind_ConvDepthWise.cpp 3 additions, 5 deletionspython_binding/operator/pybind_ConvDepthWise.cpp
- src/operator/Conv.cpp 158 additions, 0 deletionssrc/operator/Conv.cpp
- src/operator/ConvDepthWise.cpp 158 additions, 0 deletionssrc/operator/ConvDepthWise.cpp
Loading
Please register or sign in to comment