apeforest commented on issue #16735: Use single-bit for mask in dropout operator
URL: https://github.com/apache/incubator-mxnet/pull/16735#issuecomment-586519348
 
 
   > Does the slow down come from more computation in the new algorithm or the 
sub-optimal implementation?
   @PatricZhao The slowdown comes from extra computation in the new algorithm 
when dropout uses MKL. MKL already does the masking but stores each mask as 
integer. The new algorithm simply repackage this int32 based mask into 
bit-based mask and therefore introduced extra runtime. In the ideal case, it 
would be to enhance MKL dropout to store mask using bits. But it requires 
modification of the VSL APIs.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to