简体   繁体   English

人工神经网络中的 Memory

[英]Memory in an Artificial Neural Network

I am just starting to get into the world of Neural networks, using my own objects, and vectors, in the language of C++.我刚刚开始进入神经网络的世界,使用我自己的对象和向量,使用 C++ 语言。

However, I was thinking that a neural network in a game like Super Mario would have a difficult time based on just the screen for input, and the keyboard (or controller) for output, since the net has no way of finding out the velocity of the player, or any of it's past moves.但是,我认为像超级马里奥这样的游戏中的神经网络将很难仅基于屏幕输入和 output 的键盘(或控制器),因为网络无法找出速度玩家,或任何过去的动作。

I thought that if a neural network had "memory", like where some of the output of the previous feed-forward were fed back into the net, along with the normal inputs, this could work to give the neural net a slight sense of what it could have been doing, and thus affect it's current output.我认为如果一个神经网络有“记忆”,就像之前前馈的一些 output 连同正常输入一起反馈到网络中,这可以让神经网络稍微了解什么它可能一直在做,因此会影响它当前的 output。

Is There a better way of giving a neural net "memory" by feeding part of it's output into it's input?有没有更好的方法通过将 output 的一部分输入到神经网络的输入中来给神经网络“记忆”?

I would appreciate any helpful links, Thanks in advance.我将不胜感激任何有用的链接,在此先感谢。

PS: My choice of language is c++. PS:我选择的语言是c++。

Recurrent Neural Networks (RNN) do just what you described.循环神经网络 (RNN) 正是您所描述的。 You can read more about them here: RNNs你可以在这里阅读更多关于它们的信息: RNNs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM