def dataset_selector(data): if data == 'mnist': return dataset.MNIST_loader(args) elif data == 'svhn': return dataset.SVHN_loader(img_size=args.img_size) elif data == 'cifar10': return dataset.Cifar10_loader(args)
def dataset_selector(data): if data == 'mnist': return dataset.MNIST_loader(args) elif data == 'cifar10': return dataset.Cifar10_loader(args)