Summary of inputs and outputs of different sequence models

Summary of inputs and outputs of different sequence models




RNN

RNN is iterative output:

Input first -> output second,
input second -> output third,
output second last -> output last.

insert image description here

LSTM

LSTM is also iterative output:

Input first -> output second,
input second -> output third,
output second last -> output last.

GRU

GRU is also iterative output:

Input first -> output second,
input second -> output third,
output second last -> output last.

Guess you like

Origin blog.csdn.net/weixin_51524504/article/details/129284507