erg/crates/erg_compiler/lib/external/torchvision.d/datasets.d/cifar.d.er
2023-12-15 22:57:13 +09:00

23 lines
519 B
Python

vision = pyimport "./vision"
.CIFAR10: ClassType
.CIFAR10 <: vision.VisionDataset
.CIFAR10.
__call__: (
root: Str,
train := Bool,
download := Bool,
transform := GenericCallable,
target_transform := GenericCallable,
) -> .CIFAR10
.CIFAR100: ClassType
.CIFAR100 <: .CIFAR10
.CIFAR100.
__call__: (
root: Str,
train := Bool,
download := Bool,
transform := GenericCallable,
target_transform := GenericCallable,
) -> .CIFAR100