code: def fork_wait_graph_exception(input1, input2):
      fut = torch.jit.fork(add_tensor, input1, input2)
      return torch.jit.wait(fut)
  
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 10 for calling a global function with example usage: fork_wait_graph_exception(input1, input2) and returns: torch