If you’ve used PyTorch you have likely experienced euphoria, increased energy and may have even felt like walking in the sun for a bit. Your life feels complete again. That is, until you tried to have variable-sized mini-batches using RNNs. All hope is not lost. After reading this, you’ll be back to fantasies of you + PyTorch eloping into the sunset while your Recurrent Networks achieve new accura
![Taming LSTMs: Variable-sized mini-batches and why PyTorch is good for your health](https://cdn-ak-scissors.b.st-hatena.com/image/square/e0cb422cda345689088c0d70f36a397782e35af9/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fda%3Atrue%2Fresize%3Afit%3A500%2F1%2A_odqFvts1GBGFgddcmcGvg.gif)