Lingvo
lingvo package
Subpackages
lingvo.core package
lingvo.tasks package
lingvo.tools package
Submodules
Submodules
Lingvo
»
lingvo package
»
lingvo.tools package
»
lingvo.tools.compute_stats module
View page source
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]