so you cant zip self.mean and self.std if they are sinlge values. zip takes multiple iterables and returns packaged tuples.
means = [self.mean] * tensor.size()[0]
stds = [self.std] * tensor.size()[0]
for t, m, s in zip(tensor, means, stds):
  # do stuff

turn the means and stds into a length n array where n is the length of ‘tensor’ or tensors