Is there any way of generating fixed-length sequences with RNNs? I want to tell my character level RNN to generate a name of length 3, 4, 5 and so on. I haven't found anything online like this, but my intuition tells me that, if I append the sequence length (e.g. 5) at each RNN input, the RNN should be able to do this. Does anyone know if this task is possible?

  • $\begingroup$ What is the downstream case? Are you just generating from nothing, but want the random generated name to be a specific length? $\endgroup$ Mar 26, 2020 at 3:37
  • $\begingroup$ Yeah that's exactly it $\endgroup$
    – ADSBJason
    Mar 26, 2020 at 18:50


You must log in to answer this question.