【文件属性】:
文件名称:torch-ntm:火炬中的神经图灵机实现
文件大小:16KB
文件格式:ZIP
更新时间:2021-04-27 14:29:24
Lua
火炬中的神经图灵机
Alex Graves,Greg Wayne和Ivo Danihelka在描述了神经图灵机模型的Torch实现。
此实现使用LSTM控制器。 支持具有多个读/写头的NTM型号。
要求
(当然),以及以下库:
可以使用安装以上所有依赖。 例如:
luarocks install nngraph
用法
对于复制任务:
th tasks/copy.lua
对于联想召回任务:
th tasks/recall.lua
【文件预览】:
torch-ntm-master
----layers()
--------ScalarMulTable.lua(729B)
--------SmoothCosineSimilarity.lua(2KB)
--------ScalarDivTable.lua(749B)
--------CircularConvolution.lua(3KB)
--------OuterProd.lua(2KB)
--------PowTable.lua(883B)
--------Print.lua(455B)
----rmsprop.lua(2KB)
----init.lua(603B)
----tasks()
--------copy.lua(4KB)
--------util.lua(988B)
--------recall.lua(6KB)
----NTM.lua(13KB)
----README.md(868B)
----tests()
--------test-outer.lua(464B)
--------test-cosine.lua(788B)
--------test-normalize.lua(166B)
--------test-circular.lua(1KB)
--------test-scalartables.lua(485B)