Goto

Collaborating Authors

 feeding variable length word


feeding variable length words to neural network • r/deeplearning

#artificialintelligence

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.