code: def test_serialize(serialize_test, estimator_config):
      if estimator_config[0] == "generic":
          pytest.skip("Too slow.")
      serialize_test(*estimator_config[1:])
  
imports: import pytest
  from gluonts.mx.model.n_beats import NBEATSEnsembleEstimator, NBEATSEstimator
label_desc: Use image node_id 5 for calling a global function with example usage: test_serialize(serialize_test, estimator_config) without return types