albanD:

Here you actually want your model to behave differently for different elements in the batch


I apologize for not asking the question correctly. I actually do not want my model to behave differently for different elements in the batch but behave differently for different classes