espnet2.train.reporter.WeightedAverage
Less than 1 minute
espnet2.train.reporter.WeightedAverage
class espnet2.train.reporter.WeightedAverage(value: Tuple[float | int | complex | torch.Tensor | numpy.ndarray, float | int | complex | torch.Tensor | numpy.ndarray], weight: float | int | complex | torch.Tensor | numpy.ndarray)
Bases: ReportedValue
value : Tuple[float | int | complex | Tensor | ndarray, float | int | complex | Tensor | ndarray]
weight : float | int | complex | Tensor | ndarray