def compute(self, phase):
    "\n        Aggregate accumulated metrics over batches at the end of the epoch\n\n        :param phase: either 'train' or 'val'\n        "
    raise NotImplementedError()
Aggregate accumulated metrics over batches at the end of the epoch

:param phase: either 'train' or 'val'
def compute(self, phase):
    "\n        Aggregate accumulated metrics over batches at the end of the epoch\n\n        :param phase: either 'train' or 'val'\n        "
    raise NotImplementedError()