erg/crates/erg_compiler/lib/external/torchvision.d/datasets.d/mnist.d.er
2023-12-09 12:05:07 +09:00

23 lines
525 B
Python

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