code: def assert_model_output(model_lce, inputs, outputs, rtol, atol):
      interpreter = Interpreter(
          model_lce,
          num_threads=min(os.cpu_count(), 4),
          use_reference_bconv=False,
      )
      actual_outputs = interpreter.predict(inputs)
      np.testing.assert_allclose(
          actual_outputs, outputs, rtol=rtol, atol=atol
      )
  
imports: import functools
  import os
  import sys
  import tempfile
  import larq
  import numpy
  import pytest
  import tensorflow
  import tensorflow_datasets
  from larq_compute_engine.mlir.python.converter import convert_keras_model, convert_saved_model
  from larq_compute_engine.tflite.python.interpreter import Interpreter
  from preprocess import preprocess_image_tensor, IMAGE_SIZE
label_desc: Use image node_id 7 for calling a global function with example usage: assert_model_output(model_lce, inputs, outputs, rtol, atol) without return types