Solved by ptrblck in post #2 
              
              
                This seems to be wrong, since the layer dimensions are not depending on the batch size. 
You should defined the layers using their expected input features, not the number of samples they would see during training/inference. 
Based on your initial description you are dealing with 1827 samples where …