code: def _input_requires_grad(*tensors: torch.Tensor) -> bool:
      """Returns True if any of the tensors requires grad"""
      return any(t.requires_grad for t in tensors)
  
imports: import math
  from typing import List, Optional
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: _input_requires_grad() and returns: any