title: Lstm with different input sizes for each batch (pyTorch)
body: <p>I am switching from TensorFlow to PyTorch and I having some troubles with my net.</p>
  <p>I have made a Collator(for the DataLoader) that pads each tensor(originally sentence) in each batch into the Maslen of each batch.</p>
  <p>so I have different input sizes per each batch.</p>
  <p>my network consists of LSTM -&gt; LSTM -&gt; DENSE</p>
  <p>my question is, how can I specify this variable input size to the LSTM?</p>
  <p>I assume that in TensorFlow I would do Input((None,x)) bedsore the LSTM.</p>
  <p>Thank you in advance</p>