code: def test_vmd_in_pipeline():
      """Test vmd as part of a TransformedTargetForecaster pipeline."""
      y = _generate_vmd_testdata()
  
      pipe = TransformedTargetForecaster(
          steps=[
              ("vmd", VmdTransformer()),
              ("forecaster", TrendForecaster()),
          ]
      )
  
      pipe.fit(y, fh=[1, 2, 3])
      pipe.predict()
  
imports: import numpy
  import pandas
  from sktime.forecasting.compose import TransformedTargetForecaster
  from sktime.forecasting.trend import TrendForecaster
  from sktime.transformations.series.vmd import VmdTransformer
label_desc: Use image node_id 2 for calling a global function with example usage: test_vmd_in_pipeline() without return types