Class RNGEngine

Inheritance Relationships

Derived Types

Class Documentation

class RNGEngine

Class providing an engine for pseudo-random number generation.

Subclassed by marian::data::BatchGenerator< CorpusBase >, marian::BertEncoderClassifier, marian::data::BatchGenerator< DataSet >, marian::data::CorpusBase, marian::data::Dataset

Public Functions

RNGEngine()
RNGEngine(size_t seed)
std::string getRNGState()
void setRNGState(std::string engineState)

Protected Attributes

std::mt19937 eng_