INNER CODE UNIT · Python
__call__
KaiyangZhou/pytorch-center-loss · transforms.py:8
def __call__(self, img):
return img.convert('L')
INNER CODE UNIT · Python
KaiyangZhou/pytorch-center-loss · transforms.py:8
def __call__(self, img):
return img.convert('L')