code: def test_pointwise_unary(self):
      for op in ["relu", "sigmoid"]:
          with self.subTest(op):
  
              class UnaryModule(torch.nn.Module):
                  def forward(self, arg):
                      if op == "relu":
                          return torch.nn.functional.relu(arg)
                      if op == "sigmoid":
                          return torch.sigmoid(arg)
                      raise Exception("Bad op")
  
              self.check(UnaryModule(), torch.tensor([-1.0, 1.0]))
              self.check(
                  UnaryModule(),
                  qpt(torch.tensor([-1.0, 1.0]), 1.0 / 256, 0),
              )
  
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 14 for calling the TestNNAPI obj's underlying member method code with example usage: obj.test_pointwise_unary() and returns: torch, torch