如何在张量流中使用lstm2的隐藏状态作为lstm1的输入

时间:2018-12-20 06:17:26

标签: tensorflow lstm

我想在tensorflow中实施论文“ Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering”。

net structure

但是它在每个时间步中都将lstm2的隐藏状态用作lstm1的输入。似乎tensorflow中的基本lstm无法建立这样的输入。

0 个答案:

没有答案