code: def _is_batched(arg):
      return isinstance(arg, torch.Tensor) and arg.dim()
  
file_path: pyro/pyro/ops/indexing.py
imports: import torch
label_desc: Use image node_id 1 for calling a global function with example usage: _is_batched(arg) and returns: unknown