Grey:

You can implement a dataloader with batchsize=32.


Thanks for your kind reply!
For the second question, my model’s forward() function can only process one instance as input.
For my understanding, if I use a dataLoader whose batchsize = 32, then my model should be able to process batched input, is this correct?
Or another possibility is, although my model can only process one instance at a time, if I use a batched dataLoader and give the model batched input, the model will accept it and automatically convert the batched input to 32 individual input in someway?
Thanks!