espnet2.train.reporter.Average
Less than 1 minute
espnet2.train.reporter.Average
class espnet2.train.reporter.Average(value: float | int | complex | Tensor | ndarray)
Bases: ReportedValue
Average class that represents a simple average value.
value
The average value represented by this instance.
- Type: Num
Examples
>>> avg = Average(5.0)
>>> print(avg.value)
5.0
value