code: def acc(logits, labels):
      preds = np.argmax(logits, axis=-1)
      return (preds == labels).mean()
  
imports: import numpy
  from collections import Counter
label_desc: Use image node_id 4 for calling a global function with example usage: acc(logits, labels) and returns: unknown