code: def test_symb_block_export_import_nested_array(
      block_type, hybridize
  ) -> None:
      x1 = mx.nd.array([1, 2, 3])
      x2 = [mx.nd.array([1, 5, 5]), mx.nd.array([2, 3, 3])]
  
      my_block = block_type()
      my_block.collect_params().initialize()
      if hybridize:
          my_block.hybridize()
      my_block(x1, x2)
  
      sb = hybrid_block_to_symbol_block(my_block, [x1, x2])
  
      assert np.allclose(
          sb(x1, x2).asnumpy(), my_block(x1, x2).asnumpy()
      )
  
file_path: gluonts/test/mx/test_mx_util.py
imports: import pytest
  import itertools
  import tempfile
  from pathlib import Path
  from typing import List
  import mxnet
  import numpy
  from gluonts.mx import Tensor
  from gluonts.mx.util import cumsum, export_symb_block, hybrid_block_to_symbol_block, import_symb_block, mx_switch, weighted_average
label_desc: Use image node_id 3 for calling a global function with example usage: test_symb_block_export_import_nested_array(block_type, hybridize) without return types