以下内容摘抄自stack overflow:
一句话理解:自循环单元的循环次数
引用Chris Olah’s blog开始说起:
In a recurrent neural network you have multiple repetitions of the same cell. The way inference goes is - you take some input (x0), pass it through the cell to get some output1(depicted with black arrow to the right on the picture), then pass output1 as input(possibly adding some more input components - x1 on the image) to the same cell, producing new output output2, pass that again as input to the same cell(again with possibly additional input component x2), producing output3 and so on.
在循环神经网络中,我们可以多次重复同一cell。具体的方法是:首先获取input(x0),将它传递给单元格以获得一些output1(用图片右侧的黑色箭头表示),然后将output1再次作为input传递(可能直接加在x1上)到同一个单元格,产生新的输出 output2,再次将其作为input传递给同一个单元格(再次可能加到x2上),产生 output3 等等。
A time step is a single occurrence of the cell - e.g. on the first time step you produce output1, h0, on the second time step you produce output2 and so on.
一个time step即是cell的一次出现——例如,第一个time step产生output1和 h0,第二个time step产生output2和h1,以此类推。