code: def test_serialization_decode(
      fixture_lookup, serialization_fixture, decode_function
  ):
      """test_serialization_decode"""
      data, value, specs = fixture_lookup(serialization_fixture)
  
      returned = decode_function(data, specs)
      tf.nest.assert_same_structure(value, returned)
      assert all(
          [
              np.array_equal(v, r)
              for v, r in zip(
                  tf.nest.flatten(value), tf.nest.flatten(returned)
              )
          ]
      )
  
file_path: io/tests/test_serialization.py
imports: import os
  import json
  import numpy
  import pytest
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 4 for calling a global function with example usage: test_serialization_decode(fixture_lookup, serialization_fixture, decode_function) without return types