MCPcopy Create free account
hub / github.com/CausalLearning/robust-unlearnable-examples / datasetCIFAR10

Function datasetCIFAR10

utils/data.py:74–76  ·  view source on GitHub ↗
(root='./path', train=True, transform=None)

Source from the content-addressed store, hash-verified

72
73
74def datasetCIFAR10(root='./path', train=True, transform=None):
75 return torchvision.datasets.CIFAR10(root=root, train=train,
76 transform=transform, download=True)
77
78def datasetCIFAR100(root='./path', train=True, transform=None):
79 return torchvision.datasets.CIFAR100(root=root, train=train,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected