Pytorch image normalization


Sorry for my late return. I am using torch.cuda.synchronize() also this code running fast alone. But if I use with other pipeline code timing is slow.I agree with you but i cant find where is slow. Actually this process should be very fast.