class_docstr: Base test class for StableHLO quant tests.
class_docstr_tok: ["Base","test","class","for","StableHLO","quant","tests","."]
code: def setUp(self) -> None:
      super().setUp()
  
      # Many test cases for quantization involve creating and saving the input
      # model and saving the output quantized model. These two member
      # attributes can be used to specify the paths for such models,
      # respectively. These paths will be cleaned up after each test case.
      self._input_saved_model_path = self.create_tempdir(
          "input"
      ).full_path
      self._output_saved_model_path = self.create_tempdir(
          "output"
      ).full_path
      # Extra output path occasionally used for comparing two different
      # quantized models.
      self._output_saved_model_path_2 = self.create_tempdir(
          "output2"
      ).full_path
  
imports: from typing import Mapping, Sequence, Optional, Tuple, List
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.module import module
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import save
  from tensorflow.python.types import core
label_desc: Use image node_id 1 for calling the QuantizedModelTest obj's underlying member method code with example usage: obj.setUp() without return types