spyrit.misc.statistics.cov_walsh

spyrit.misc.statistics.cov_walsh(dataloader, mean, device, n_loop=1)[source]

nloop > 1 is relevant for dataloaders with random crops such as that provided by data_loaders_ImageNet