code: def test_gluon_predictor():
      train_length = 100
      pred_length = 10
  
      estimator = CanonicalRNNEstimator(
          "5min", train_length, pred_length
      )
  
      assert equals(estimator, clone(estimator))
      assert not equals(estimator, clone(estimator, {"freq": "1h"}))
  
file_path: gluonts/test/mx/test_transform_equals.py
imports: from gluonts.core.serde.flat import clone
  from gluonts import time_feature, transform
  from gluonts.core.component import equals
  from gluonts.dataset.field_names import FieldName
  from gluonts.mx import CanonicalRNNEstimator
  from pandas.tseries.frequencies import to_offset
label_desc: Use image node_id 9 for calling a global function with example usage: test_gluon_predictor() without return types