Class CMUArcticDataset

Inheritance Relationships

Base Type

Class Documentation

class CMUArcticDataset : public mindspore::dataset::Dataset

A source dataset for reading and parsing CMUArctic dataset.

Public Functions

CMUArcticDataset(const std::vector<char> &dataset_dir, const std::vector<char> &name, const std::shared_ptr<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache)

Constructor of CMUArcticDataset.

Parameters
  • dataset_dir[in] Path to the root directory that contains the dataset.

  • name[in] Part of dataset of CMUArctic, can be “aew”, “ahw”, “aup”, “awb”, “axb”, “bdl”, “clb”, “eey”, “fem”, “gka”, “jmk”, “ksp”, “ljm”, “lnh”, “rms”, “rxr”, “slp” or “slt”.

  • sampler[in] Shared pointer to a sampler object used to choose samples from the dataset.

  • cache[in] Tensor cache to use.

CMUArcticDataset(const std::vector<char> &dataset_dir, const std::vector<char> &name, const Sampler *sampler, const std::shared_ptr<DatasetCache> &cache)

Constructor of CMUArcticDataset.

Parameters
  • dataset_dir[in] Path to the root directory that contains the dataset.

  • name[in] Part of dataset of CMUArctic, can be “aew”, “ahw”, “aup”, “awb”, “axb”, “bdl”, “clb”, “eey”, “fem”, “gka”, “jmk”, “ksp”, “ljm”, “lnh”, “rms”, “rxr”, “slp” or “slt”.

  • sampler[in] Raw pointer to a sampler object used to choose samples from the dataset.

  • cache[in] Tensor cache to use.

CMUArcticDataset(const std::vector<char> &dataset_dir, const std::vector<char> &name, const std::reference_wrapper<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache)

Constructor of CMUArcticDataset.

Parameters
  • dataset_dir[in] Path to the root directory that contains the dataset.

  • name[in] Part of dataset of CMUArctic, can be “aew”, “ahw”, “aup”, “awb”, “axb”, “bdl”, “clb”, “eey”, “fem”, “gka”, “jmk”, “ksp”, “ljm”, “lnh”, “rms”, “rxr”, “slp” or “slt”.

  • sampler[in] Sampler object used to choose samples from the dataset.

  • cache[in] Tensor cache to use.

~CMUArcticDataset() override = default

Destructor of CMUArcticDataset.