code: def test_given_custom_predict_batch_size_then_predictor_uses_correct_batch_size(
      predict_batch_size,
  ):
      model = PatchTSTModel(
          hyperparameters={
              "predict_batch_size": predict_batch_size,
              **DUMMY_HYPERPARAMETERS,
          }
      )
      model.fit(train_data=DUMMY_TS_DATAFRAME)
      assert model.gts_predictor.batch_size == predict_batch_size
  
imports: from unittest import mock
  import numpy
  import pytest
  from gluonts.model.predictor import Predictor
  from autogluon.timeseries.models.gluonts import DeepARModel, DLinearModel, PatchTSTModel, SimpleFeedForwardModel, TemporalFusionTransformerModel, WaveNetModel
  from autogluon.timeseries.utils.features import TimeSeriesFeatureGenerator
  from ..common import DATAFRAME_WITH_COVARIATES, DATAFRAME_WITH_STATIC, DUMMY_TS_DATAFRAME
label_desc: Use image node_id 16 for calling a global function with example usage: test_given_custom_predict_batch_size_then_predictor_uses_correct_batch_size(predict_batch_size) without return types