code: def _trace(x, name=None):
      del name
      return np.trace(x, axis1=-1, axis2=-2)
  
imports: import collections
  import functools
  import numpy
  from tensorflow_probability.python.internal.backend.numpy import _utils
  from tensorflow_probability.python.internal.backend.numpy import ops
label_desc: Use image node_id 23 for calling a global function with example usage: _trace(x, name) and returns: np