def build(self, optimizer=None, loss='euclid', metric=None, metric_is_like_loss=True, metric_name='Metric', **kwargs): Model.build(self, optimizer=optimizer, loss=loss, metric=metric, metric_name=metric_name, metric_is_like_loss=metric_is_like_loss)
def build(self, optimizer=None, loss='euclid', metric=None, batch_metric=None, eval_metric=None, **kwargs): context.metric_name = 'unknown' # TODO: to be deprecated Model.build(self, optimizer=optimizer, loss=loss, metric=metric, batch_metric=batch_metric, eval_metric=eval_metric, **kwargs)