code: def _check_trainer_kwargs(trainer_kwargs):
      if "batch_size" in trainer_kwargs:
          raise ValueError(
              "Invalid keyword argument in trainer_kwargs: "
              'Argument "batch_size" can be set via "mini_batch_size" in '
              "SetFitClassification."
          )
      return trainer_kwargs
  
label_desc: Use image node_id 2 for calling a global function with example usage: _check_trainer_kwargs(trainer_kwargs) and returns: trainer_kwargs