Hi @ptrblck
Thanks for the reply. No it is not the last batch, in fact I realized this issue appears when the model is initialized, but then when I start to load/feed the data to the model, x gets the normal size. Not sure why the additional dimension is added at the initialization.