LSTM中对time step的理解

以下内容摘抄自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,以此类推。

  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值