code: def _verify_tflite(self, tflite_file, x_test, y_test):
      interpreter = tf.lite.Interpreter(model_path=tflite_file)
      interpreter.allocate_tensors()
      input_index = interpreter.get_input_details()[0]["index"]
      output_index = interpreter.get_output_details()[0]["index"]
  
      for x, _ in zip(x_test, y_test):
          x = x.reshape((1,) + x.shape)
          interpreter.set_tensor(input_index, x)
          interpreter.invoke()
          interpreter.get_tensor(output_index)
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/quantize_models_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import tempfile
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantize
  from tensorflow_model_optimization.python.core.quantization.keras import utils
label_desc: Use image node_id 4 for calling the QuantizeModelsTest obj's underlying member method code with example usage: obj._verify_tflite(tflite_file, x_test, y_test) without return types