lingvo.tools.compute_stats module

Compute stats from tfrecords files.

class lingvo.tools.compute_stats.StatsCollector[source]

Bases: object

Collect stats.

_AccumulateMoments(float_list)[source]
_ComputeMeanVar()[source]
Accumulate(tf_ex)[source]
_PrintLengthBuckets()[source]
_PrintMeanVar()[source]
Print()[source]
lingvo.tools.compute_stats.main(_)[source]