transform_normalize function

Normalize a tensor image with mean and standard deviation