def get_norm_stats(loaders) -> list:
    """Returns normalization stats (mean and std) computed across one or more image dataloaders.

    **Parameters**

    loaders : list of pytorch dataloaders

    **Returns**

    list of stats as pytorch tensors

    """
    mean = 0.
    std = 0.
    nb_samples = 0.
    for loader in loaders:
        for data, _ in loader:
            batch_samples = data.size(0)
            data = data.view(batch_samples, data.size(1), -1)
            mean += data.mean(2).sum(0)
            std += data.std(2).sum(0)
            nb_samples += batch_samples

    mean /= nb_samples
    std /= nb_samples

    return [mean, std]