code: def _all(x):
      return x.all() if isinstance(x, torch.Tensor) else x
  
file_path: pyro/pyro/contrib/epidemiology/distributions.py
imports: import math
  from contextlib import contextmanager
  import torch
  from torch.distributions.utils import broadcast_all
  import pyro.distributions
  from pyro.distributions.util import is_validation_enabled
label_desc: Use image node_id 1 for calling a global function with example usage: _all(x) and returns: unknown