code: def test_register_model_with_batch_size(
      mar_file_path, model_store, torchserve
  ):
      params = (
          ("initial_workers", "2"),
          ("synchronous", "true"),
          ("batch_size", "2"),
      )
  
      model_name = register_model(
          mar_file_path, model_store, params, torchserve
      )
  
      describe_resp = test_utils.describe_model(model_name, "1.0")
  
      assert describe_resp[0]["batchSize"] == 2
  
      test_utils.unregister_model(model_name)
  
file_path: serve/test/pytest/test_model_config.py
imports: import shutil
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  import test_utils
  from model_archiver import ModelArchiverConfig
label_desc: Use image node_id 5 for calling a global function with example usage: test_register_model_with_batch_size(mar_file_path, model_store, torchserve) without return types