Fix import tests
Context
This MR is dedicated to enhance some operators imports mentioned in issue aidge_onnx#46.
The operators that will be enhanced are the following:
-
gemm
: * missingalpha
andbeta
attributes.
* missingtransA
andtransB
attributes.
* cannot support bias of shape [1, outChannels]. -
Sum
: can no longer useAdd
operator because the latter can no longer support more than 2 inputs.
Modified files
-
MetaOperatorDefs.hpp
,Gemm.cpp
andpybind_MetaOperatorDefs.cpp
, addGemm
metaoperator -
FC.cpp
support bias of shape [1, outChannels]; -
Sum.hpp
,Sum.cpp
andpybind_Sum.cpp
, addSum
operator;
TODO
-
Add Gemm
metaoperator with the attributesalpha
,beta
,transA
andtransB
-
Support bias of shape [1, outChannels] in FC
oprator -
Add Sum
operator
Edited by Houssem ROUIS