code: def set_cpp_tensors_requires_grad(cpp_tensor_stmts, python_tensors):
      assert len(cpp_tensor_stmts) == len(python_tensors)
      return [
          f"{tensor_stmt}.requires_grad_(true)"
          if tensor.dtype != torch.long
          else tensor_stmt
          for tensor_stmt, (_, tensor) in zip(
              cpp_tensor_stmts, python_tensors
          )
      ]
  
imports: from collections import namedtuple
  import unittest
  import os
  import warnings
  import shutil
  import torch
  import torch.utils.cpp_extension
  import torch.testing._internal.common_nn
  from torch.testing._internal.common_cuda import TEST_CUDA
label_desc: Use image node_id 9 for calling a global function with example usage: set_cpp_tensors_requires_grad(cpp_tensor_stmts, python_tensors) and returns: unknown