import torch


def pretty_size(size):
    """Pretty prints a torch.Size object

    Args:
        size: tensor size
    """
    assert (isinstance(size, torch.Size))
    return " × ".join(map(str, size))