code: def test_empty_calibrator_gen(self):
      model_path = resource_loader.get_path_to_datafile(
          "test_data/mobilenet_like_model.bin"
      )
      float_model = open(model_path, "rb").read()
      quantizer = _calibrator.Calibrator(float_model)
  
      def empty_input_gen():
          for i in ():
              yield i
  
      with self.assertRaises(RuntimeError):
          quantizer.calibrate_and_quantize(
              empty_input_gen, dtypes.float32, dtypes.float32, False
          )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow.lite.python import lite
  from tensorflow.lite.python import schema_py_generated
  from tensorflow.lite.python.optimize import calibrator
  from tensorflow.lite.tools import flatbuffer_utils
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import resource_loader
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the CalibratorTest obj's underlying member method code with example usage: obj.test_empty_calibrator_gen() without return types