Please can someone let me know what command in Pytorch equals ny.rint.
I need to import black and white images and turn their pixels into only black or white pixels without a gray scale. Can anyone help?