feeding variable length words to neural network • r/deeplearning
My initial assumption would be to set the input length as the maximum length of your words, left or right pad any shorter words with 0, and then use masking to avoid the padded zeros being used in your loss calculations.
Dec-25-2017, 11:36:26 GMT
- Technology: