code: def _is_complex_or_float(tensor):
      return torch.is_floating_point(tensor) or torch.is_complex(tensor)
  
imports: from typing import Iterable
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: _is_complex_or_float(tensor) and returns: unknown