(self, tensor)
return tensor
Args:
            tensor (Tensor): Tensor image of size (C, H, W) to be normalized.

        Returns:
            Tensor: Normalized Tensor image.
Args:
            tensor (Tensor): Tensor image of size (C, H, W) to be normalized.
Args : tensor ( Tensor ) : Tensor image of size ( C H W ) to be normalized .
def __call__(self, tensor):
        """
        Args:
            tensor (Tensor): Tensor image of size (C, H, W) to be normalized.

        Returns:
            Tensor: Normalized Tensor image.
        """
        if not _is_tensor_image(tensor):
            raise TypeError('tensor is not a torch image.')
        # TODO: make efficient
        for t, m, s in zip(tensor, self.mean, self.std):
            t.sub_(m).div_(s)
        return tensor
def __call__ ( self , tensor ) : if not _is_tensor_image ( tensor ) : raise TypeError ( 'tensor is not a torch image.' ) # TODO: make efficient for t , m , s in zip ( tensor , self . mean , self . std ) : t . sub_ ( m ) . div_ ( s ) return tensor