code: def check_gluon_save_load(net_builder, data_l):
      """Verify the consistency between the loaded network and the original network.
  
      Known limitations: Currently it only supports loading
  
      Parameters
      ----------
      net_builder : function
          The builder of the HybridBlock.
      data_l : list of numpy.ndarray
          List of the input data that we will use to verify the correctness of the loaded network.
  
      """
      net = net_builder()
      net.hybridize()
      net.initialize()
      out = net(*data_l)
      out_np = out.asnumpy()
      prefix = str(uuid4())
      net.export(prefix)
      input_names = (
          "data"
          if len(data_l) == 1
          else ["data{}".format(i) for i in range(len(data_l))]
      )
      net_imported = gluon.SymbolBlock.imports(
          "{}-symbol.json".format(prefix),
          input_names,
          param_file="{}-0000.params".format(prefix),
      )
      # Clean up the directory
      os.remove("{}-symbol.json".format(prefix))
      os.remove("{}-0000.params".format(prefix))
      loaded_out = net_imported(*data_l).asnumpy()
      assert_almost_equal(out_np, loaded_out)
  
imports: from __future__ import absolute_import
  from __future__ import division
  import os
  from uuid import uuid4
  import numpy
  import mxnet
  from mxnet import gluon, autograd, np, npx
  from mxnet.test_utils import use_np, assert_almost_equal, check_gluon_hybridize_consistency, assert_allclose
  from mxnet.gluon import nn
  from mxnet.base import MXNetError
  import random
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: check_gluon_save_load(net_builder, data_l) without return types