How are neural networks used when the number of inputs could be variable?

后端 未结 6 455
一生所求
一生所求 2020-12-12 21:48

All the examples I have seen of neural networks are for a fixed set of inputs which works well for images and fixed length data. How do you deal with variable length data s

6条回答
  •  再見小時候
    2020-12-12 22:38

    I guess one way to do it is to add a temporal component to the input (recurrent neural net) and stream the input to the net a chunk at a time (basically creating the neural network equivalent of a lexer and parser) this would allow the input to be quite large but would have the disadvantage that there would not necessarily be a stop symbol to seperate different sequences of input from each other (the equivalent of a period in sentances)

提交回复
热议问题