Class BatchStats¶
Defined in File batch_stats.h
Class Documentation¶
-
class
BatchStats
¶ -
Public Functions
-
BatchStats
()¶
-
const_iterator
begin
() const¶
-
const_iterator
lower_bound
(const std::vector<size_t> &lengths) const¶
-
size_t
findBatchSize
(const std::vector<size_t> &lengths, const_iterator &it) const¶
-
void
add
(Ptr<data::CorpusBatch> batch, double multiplier = 1.)¶
-
size_t
estimateTypicalTrgWords
() const¶
-
void
dump
()¶
-