fix total batch size calculation in trainer (#38286)
* fix total batch size calculation
* update
Signed-off-by: inkcherry <mingzhi.liu@intel.com>
* Update src/transformers/trainer.py
---------
Signed-off-by: inkcherry <mingzhi.liu@intel.com>
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>