Fix bug of changing input tensor in utils.save_image (#1244)
* Fix bug of changing input tensor in function The original code will change the image tensor passed in by multiplying it by 255. The PR fixes that. * fix inplace multiplication in save_image
Showing
Please register or sign in to comment