can anybody tell me the function of the below code. I know it is used with batch size but what it is exactly calculating can anybody tell me pls?