code: def fork_wait_graph3(input, iters: int):
      futures: List[torch.jit.Future[torch.Tensor]] = []
      for _ in range(iters):
          futures.append(torch.jit.fork(torch.neg, input))
      results = []
      for future in futures:
          results.append(torch.jit.wait(future))
      return torch.sum(torch.stack(results))
  
imports: import unittest
  from typing import Dict, Optional
  import numpy
  import torch
  from torch import nn
  from torch.testing._internal.common_utils import TestCase, run_tests
  from typing import List
label_desc: Use image node_id 7 for calling a global function with example usage: fork_wait_graph3(input, iters) and returns: torch