code: def variable_is_tensor():
      v = torch.autograd.Variable()
      return isinstance(v, torch.Tensor)
  
file_path: apex/apex/amp/compat.py
imports: import torch
label_desc: Use image node_id 1 for calling a global function with example usage: variable_is_tensor() and returns: isinstance