code: def top1(y_pred, y_true, **kwargs):
      return acc(y_pred, y_true, **kwargs)
  
imports: from abc import ABC
  import torch.nn
  from poutyne.framework.metrics.metrics_registering import do_register_metric_func, register_metric_func
label_desc: Use image node_id 4 for calling a global function with example usage: top1(y_pred, y_true) and returns: acc