@property
def _valid_mets(self):
    if getattr(self, 'cancel_valid', False):
        return L()
    return ((L(self.loss) + self.metrics) if self.valid_metrics else L())
@property
def _valid_mets(self):
    if getattr(self, 'cancel_valid', False):
        return L()
    return ((L(self.loss) + self.metrics) if self.valid_metrics else L())