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

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

问题描述

我是LSTM和RNN的新手,我一直在绞尽脑汁了解确切的时间步伐.我真的很希望对此做出直观的解释

解决方案

让我们以克里斯·奥拉(Chris Olah)博客的出色形象开始(高度

在递归神经网络中,同一细胞有多个重复.推理的方式是-接受一些输入(x 0 ),将其通过单元格以获取一些输出 1 (在图片的右侧用黑色箭头表示)),然后将output 1 作为输入(可能会在图像上添加一些其他输入分量-x 1 )到同一单元格,产生新的输出output 2 ,再次将其作为输入传递到同一单元格(同样可能带有附加的输入分量x 2 ),产生输出 3 ,依此类推.

时间步是单元格的一次出现-例如在第一个步骤中,您生成输出 1 ,h 0 ,在第二个步骤中,生成输出 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天全站免登陆