mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 13:11:11 +00:00
23 lines
519 B
Python
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
|