docstr: Make sure modifying IO types removes tensors correctly.
docstr_tok: ["Make","sure","modifying","IO","types","removes","tensors","correctly","."]
code: def test(self, inference_input_output_type):
      """Make sure modifying IO types removes tensors correctly."""
      srqed_int8_f32io_model = (
          self._generate_int8_f32io_concat_residual_tflite()
      )
  
      if inference_input_output_type != tf.float32:
          target_model = util.modify_model_io_type(
              srqed_int8_f32io_model,
              inference_input_output_type,
              inference_input_output_type,
          )
      else:
          target_model = srqed_int8_f32io_model
  
      tflite_path = os.path.join(
          self.get_temp_dir(), "concat_residual.tflite"
      )
      with tf.io.gfile.GFile(tflite_path, "wb") as writer:
          writer.write(target_model)
      flatbuffer_model = _read_model(tflite_path)
      self._verify_tensor_connections(flatbuffer_model)
  
imports: import os
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow.lite.python import util
  from tensorflow.lite.tools.flatbuffer_utils import read_model
  from tensorflow.python.client import session
  from tensorflow.python.framework import convert_to_constants
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the UtilModifyIntegerQuantizedConcatResidualModelIOTypeTest obj's underlying member method code with example usage: obj.test(inference_input_output_type) without return types