code: def setUp(self):
      # Avoid saturation in fbgemm
      torch.backends.quantized.engine = "qnnpack"
  
      libneuralnetworks_path = os.environ.get("LIBNEURALNETWORKS_PATH")
      if libneuralnetworks_path:
          ctypes.cdll.LoadLibrary(libneuralnetworks_path)
          print("Will attempt to run NNAPI models.")
          self.can_run_nnapi = True
      else:
          self.can_run_nnapi = False
  
imports: import os
  import ctypes
  import torch
  import unittest
  from typing import Tuple
  from torch.backends._nnapi.prepare import convert_model_to_nnapi
  from torch.testing._internal.common_quantized import supported_qengines
  from torch.testing._internal.common_utils import TestCase, run_tests
label_desc: Use image node_id 1 for calling the TestNNAPI obj's underlying member method code with example usage: obj.setUp() without return types