Template Function torch::data::datasets::map(DatasetType, TransformType)#
Defined in File map.h
Function Documentation#
-
template<typename DatasetType, typename TransformType>
MapDataset<DatasetType, TransformType> torch::data::datasets::map(DatasetType dataset, TransformType transform)# Creates a
MapDataset
with the given dataset and transform.