code: def test_simplefeedforward_symbol_block_serde():
      with tempfile.TemporaryDirectory(
          prefix="gluonts-predictor-temp-"
      ) as temp_dir:
          dataset = [
              {
                  "start": pd.Period("2022-01-01", freq="D"),
                  "target": np.random.normal(size=(200)),
              }
          ]
  
          estimator = SimpleFeedForwardEstimator(
              prediction_length=10,
              trainer=Trainer(
                  epochs=2,
                  num_batches_per_epoch=5,
              ),
          )
  
          predictor = estimator.train(dataset)
          predictor = predictor.as_symbol_block_predictor(
              dataset=dataset
          )
  
          model_path = Path(temp_dir) / "model"
          model_path.mkdir()
          predictor.serialize(model_path)
  
          new_symbol_predictor = Predictor.deserialize(model_path)
  
          assert len(list(new_symbol_predictor.predict(dataset))) == 1
  
imports: import tempfile
  from pathlib import Path
  import pandas
  import numpy
  from gluonts.model import Predictor
  from gluonts.mx.model.simple_feedforward import SimpleFeedForwardEstimator
  from gluonts.mx import Trainer
label_desc: Use image node_id 1 for calling a global function with example usage: test_simplefeedforward_symbol_block_serde() without return types