How to use Different Batch Sizes when Training and Predicting with LSTMs
Last Updated on August 14, 2019 Keras uses fast symbolic mathematical libraries as a backend, such as TensorFlow and Theano. A downside of using these libraries is that the shape and size of your data must be defined once up front and held constant regardless of whether you are training your network or making predictions. On sequence prediction problems, it may be desirable to use a large batch size when training the network and a batch size of 1 when […]
Read more