It seems that emitLayerGemm does not honors the transpose attribute in ONNX's frontend, which can sometime cause confusing error to be reported in later stage that points to multiplying matrix with unmatched dimension or completely error output without warning.
For my own purpose I was able to get this around by performing a compile time transpose by adding for following code in emitLayerGemm:
It seems that
emitLayerGemm
does not honors the transpose attribute in ONNX's frontend, which can sometime cause confusing error to be reported in later stage that points to multiplying matrix with unmatched dimension or completely error output without warning.For my own purpose I was able to get this around by performing a compile time transpose by adding for following code in
emitLayerGemm
:Please let me know a better way to implement this, I'll be glad to open a pull request.