Class Sampler
Defined in File samplers.h
Inheritance Relationships
Base Type
private std::enable_shared_from_this< Sampler >
Derived Types
public mindspore::dataset::DistributedSampler
(Class DistributedSampler)public mindspore::dataset::PKSampler
(Class PKSampler)public mindspore::dataset::RandomSampler
(Class RandomSampler)public mindspore::dataset::SequentialSampler
(Class SequentialSampler)public mindspore::dataset::SubsetSampler
(Class SubsetSampler)public mindspore::dataset::WeightedRandomSampler
(Class WeightedRandomSampler)
Class Documentation
-
class Sampler : private std::enable_shared_from_this<Sampler>
An abstract base class to represent a sampler in the data pipeline.
Subclassed by mindspore::dataset::DistributedSampler, mindspore::dataset::PKSampler, mindspore::dataset::RandomSampler, mindspore::dataset::SequentialSampler, mindspore::dataset::SubsetSampler, mindspore::dataset::WeightedRandomSampler