code: def test_io_layer(fashion_mnist, helper):
      """test_text_io_layer"""
      model, images, predictions, processing_layer = fashion_mnist
  
      model.summary()
  
      io_model = tf.keras.models.Model(
          inputs=model.input,
          outputs=helper.func()(
              processing_layer(model.layers[-1].output)
          ),
      )
  
      predictions = io_model.predict(images)
  
      io_model.layers[-1].sync()
  
      helper.check(images, predictions)
  
file_path: io/tests/test_io_layer.py
imports: import os
  import sys
  import time
  import tempfile
  import pytest
  import numpy
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 2 for calling a global function with example usage: test_io_layer(fashion_mnist, helper) without return types