code: def is_tensor_like(x):
      return torch.is_tensor(x) or isinstance(
          x, torch.autograd.Variable
      )
  
file_path: apex/apex/amp/compat.py
imports: import torch
label_desc: Use image node_id 4 for calling a global function with example usage: is_tensor_like(x) and returns: unknown