LSTM 模型中的时间步长到底是什么? [英] What exactly is timestep in an LSTM Model?

查看:29
本文介绍了LSTM 模型中的时间步长到底是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一个整体,我是 LSTM 和 RNN 的新手,我一直在绞尽脑汁想了解什么是时间步长.我真的很感激对此的直观解释

解决方案

让我们从 Chris Olah 的博客(高度

在循环神经网络中,您会多次重复同一单元格.推理的方式是 - 您获取一些输入 (x0),将其通过单元格以获得一些输出1(用图片右侧的黑色箭头表示),然后将 output1 作为输入(可能在图像上添加更多输入组件 - x1)传递到同一单元格,产生新的输出 output2,再次将其作为输入传递给同一个单元格(同样可能还有额外的输入组件 x2),产生输出3,依此类推.

时间步长是单元格的单次出现 - 例如在第一个时间步产生输出1,h0,在第二个时间步产生输出2,依此类推.

I am a newbie to LSTM and RNN as a whole, I've been racking my brain to understand what exactly is a timestep. I would really appreciate an intuitive explanation to this

解决方案

Let's start with a great image from Chris Olah's blog (a highly recommended read btw):

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.

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.

这篇关于LSTM 模型中的时间步长到底是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆