code: def requires_grad(parameters, flag=True):
      for p in parameters:
          p.requires_grad = flag
  
label_desc: Use image node_id 2 for calling a global function with example usage: requires_grad(parameters, flag) without return types