anirudh2290 commented on issue #14738: [MXNet-14340] fix bug in legacy-op-util
URL: https://github.com/apache/incubator-mxnet/pull/14738#issuecomment-485609039
 
 
   If I understand correctly this caching was added to make the tblobs point to 
the same data. This tblob copy involves shape, dptr and type and the point was 
to avoid the cost at every iteration when it is not necessary. The split breaks 
probably because we call backward on two different outputs and thus these 
tblobs are also holding the wrong data. I think instead of removing this, if 
you can find a way to clear cache only for this op, that would probably be 
better. One (dirty) way is to check the op name and skip.

----------------------------------------------------------------
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