Exercise 4 - utils2 function get_batches is that right?

Oh Im sorry this problem have arrised one year ago here : What's the purpose of batch_size in the "get_batches" function in "utils2.py", and still not any answer or modification of the function till today 2023-09-17