code: def _stats(x):
      return dict(
          mean=np.mean(x),
          sem=np.std(x) / np.sqrt(len(x)),
          min=np.min(x),
          max=np.max(x),
          q1=np.percentile(x, 25),
          q2=np.percentile(x, 50),
          q3=np.percentile(x, 75),
      )
  
imports: import time
  from magenta.models.coconet import lib_tfutil
  from magenta.models.coconet import lib_util
  import numpy
  from scipy.misc import logsumexp
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling a global function with example usage: _stats(x) and returns: dict