code: def set_global_batch_size(
      config: Dict[Any, Any], batch_size: int
  ) -> Dict[Any, Any]:
      config = config.copy()
      config["hyperparameters"]["global_batch_size"] = batch_size
      return config
  
imports: import os
  from pathlib import Path
  from typing import Any, Dict, List, Union
  from determined.common import api, util
  from determined.common.api import authentication
label_desc: Use image node_id 11 for calling a global function with example usage: set_global_batch_size(config, batch_size) and returns: config