kshitij12345 edited a comment on issue #14938: Performance issue when 
use_bias=True
URL: 
https://github.com/apache/incubator-mxnet/issues/14938#issuecomment-493782242
 
 
   I may be terribly wrong about this but,
   
https://github.com/apache/incubator-mxnet/blob/bd44ff48c4aff8458a67c44b032f82afbf4d52a5/src/operator/nn/fully_connected-inl.h#L162-L178
   
   looking at the pattern here, 
   assuming `sum_rows` is the culprit,
   maybe replacing the
   
https://github.com/apache/incubator-mxnet/blob/bd44ff48c4aff8458a67c44b032f82afbf4d52a5/src/operator/nn/fully_connected-inl.h#L172
   with `gemv` with a dummy ones vector for reduction may help.
   Any thoughts?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to