Fix for #409 (#673)
* added separate checks for dimensionality in to_pil_image and added tests * updated to_pil_image to use both 2D ndarrays and tensors, as well as refactored the tests
Showing
Please register or sign in to comment
* added separate checks for dimensionality in to_pil_image and added tests * updated to_pil_image to use both 2D ndarrays and tensors, as well as refactored the tests