code: def _try_fn(self, fn, *args, **kwargs):
      try:
          return fn(*args, **kwargs)
      except Exception as e:
          return e
  
file_path: pytorch/test/mobile/test_upgraders.py
imports: import torch
  import torch.utils.bundled_inputs
  import io
  from torch.jit.mobile import _load_for_lite_interpreter
  from torch.testing._internal.common_utils import TestCase, run_tests
  from pathlib import Path
  from itertools import product
label_desc: Use image node_id 2 for calling the TestLiteScriptModule obj's underlying member method code with example usage: obj._try_fn(fn) and returns: fn, e