code: def test_output_dimensions(num_intervals, corr_series_length):
      """Test output dimensions."""
      X = _make_nested_from_array(
          np.ones(13), n_instances=10, n_columns=1
      )
  
      s = SlopeTransformer(num_intervals=num_intervals).fit(X)
      res = s.transform(X)
  
      # get the dimension of the generated dataframe.
      act_time_series_length = res.iloc[0, 0].shape[0]
      num_rows = res.shape[0]
      num_cols = res.shape[1]
  
      assert act_time_series_length == corr_series_length
      assert num_rows == 10
      assert num_cols == 1
  
file_path: sktime/sktime/transformations/panel/tests/test_slope_transformer.py
imports: import math
  import numpy
  import pandas
  import pytest
  from sktime.transformations.panel.slope import SlopeTransformer
  from sktime.utils._testing.panel import _make_nested_from_array
label_desc: Use image node_id 3 for calling a global function with example usage: test_output_dimensions(num_intervals, corr_series_length) without return types