code: def test_output_transform(input, expected):
      expected = np.array(expected)
      tf = DeepRenewalProcessSampleOutputTransform()
      out = tf({}, np.array(input))
  
      assert np.allclose(out, expected)
      assert out.shape == expected.shape
  
file_path: gluonts/test/mx/model/renewal/test_predictor.py
imports: import numpy
  import pytest
  from gluonts.dataset.common import ListDataset
  from gluonts.evaluation import make_evaluation_predictions
  from gluonts.mx.model.renewal import DeepRenewalProcessEstimator
  from gluonts.mx.model.renewal._predictor import DeepRenewalProcessSampleOutputTransform
  from gluonts.mx import Trainer
label_desc: Use image node_id 1 for calling a global function with example usage: test_output_transform(input, expected) without return types