Flamefire commented on issue #14794: Fix wrong description of output range of 
ToTensor
URL: https://github.com/apache/incubator-mxnet/pull/14794#issuecomment-486960873
 
 
   Added for CPU and GPU side. Typed it up in Github though, so haven't tested 
it locally. But code is trivial, so except for typos it should work. I went for 
2 tests: One with an array of zeros and one with an array of 255s. I also 
reduced the size
   
   BTW: On looking at the other tests: Square shapes are not a good idea for 
tests as it could hide typos/bugs where width and height are mixed up...

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