code: def qpt(t, scale, zero_point, dtype=torch.quint8):
      t = torch.tensor(t)
      return torch.quantize_per_tensor(t, scale, zero_point, dtype)
  
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 a global function with example usage: qpt(t, scale, zero_point, dtype) and returns: torch