mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 13:11:11 +00:00
12 lines
314 B
Python
12 lines
314 B
Python
dataset = pyimport "torch/utils/data/dataset"
|
|
|
|
.VisionDataset: ClassType
|
|
.VisionDataset <: dataset.Dataset
|
|
.VisionDataset.
|
|
__call__: (
|
|
root: Str,
|
|
train := Bool,
|
|
download := Bool,
|
|
transform := GenericCallable,
|
|
target_transform := GenericCallable,
|
|
) -> .VisionDataset
|