code: def _all(x):
      return x.all() if isinstance(x, torch.Tensor) else x
  
file_path: pyro/pyro/contrib/epidemiology/util.py
imports: import numpy
  import torch
  import pyro
  import pyro.distributions
  import pyro.poutine
  from pyro.distributions.util import broadcast_shape
  from pyro.ops.special import safe_log
label_desc: Use image node_id 5 for calling a global function with example usage: _all(x) and returns: unknown