The function transform.Normalize will subtract the given mean from each input image, and then divide the results by the given std.
In mathematical terms, if X represent an image, then it will do the following: (X-mean)/std.
So, if the mean and std are the actual mean and std of the training data, it will basically mean-center and standardize the data.