import torch


def normalize(input: torch.Tensor) -> torch.Tensor:
    """
    Normalize a given tensor to var=1.0 and mean=0.0
    :param input: (torch.Tensor) Input tensor
    :return: (torch.Tensor) Normalized output tensor
    """
    return (input - input.mean()) / input.std()