def __init__(self):
        """
        Creates an instance of StreamLoss metric
        """
        super(StreamLoss, self).__init__(
            reset_at="stream", emit_at="stream", mode="eval"
        )

        Creates an instance of StreamLoss metric
        
avalanche/evaluation/metrics/loss.py