Template Class BatchGenerator¶
Defined in File batch_generator.h
Inheritance Relationships¶
Base Type¶
public marian::data::RNGEngine
(Class RNGEngine)
Class Documentation¶
-
template<class
DataSet
>
classBatchGenerator
: public marian::data::RNGEngine¶ Public Types
-
typedef DataSet::batch_ptr
BatchPtr
¶
-
typedef DataSet::Sample
Sample
¶
-
typedef BatchIterator<BatchGenerator>
iterator
¶
Public Functions
-
BatchGenerator
(Ptr<DataSet> data, Ptr<Options> options, Ptr<BatchStats> stats = nullptr, bool runAsync = true)¶
-
~BatchGenerator
()¶
-
void
prepare
()¶
-
bool
restore
(Ptr<TrainingState> state)¶
-
size_t
estimateTypicalTrgBatchWords
() const¶
Public Members
-
friend marian::data::BatchGenerator::iterator
-
typedef DataSet::batch_ptr