def __init__(self, output_transform=lambda x: x): Metric.__init__(self, output_transform=output_transform) self.reset()
def __init__(self): self.values: List[Tuple[int, T]] Metric.__init__(self)
def __init__(self, output_transform=lambda x: x, log_interval=100): self.model_state = Message() Metric.__init__(self, output_transform=output_transform) self.log_interval = log_interval