编解码器架构中的bridge到底是什么

Posted CSU迦叶

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编解码器架构中的bridge到底是什么相关的知识,希望对你有一定的参考价值。

https://opennmt.net/OpenNMT-py/examples/Summarization.html?highlight=bridge​​​​​​对于bridge做出如下解释

  • bridge: This is an additional layer that uses the final hidden state of the encoder as input and computes an initial hidden state for the decoder. Without this, the decoder is initialized with the final hidden state of the encoder directly.

大意是,这座桥架在编码器和解码器之间,它的作用是将编码器的最后一层状态进行计算(具体什么计算没说)后再给解码器作为第一层的状态。

此外,bridge是可学习的,以编码器的状态作为输入,例如一篇论文中的参数就给出

 

以上是关于编解码器架构中的bridge到底是什么的主要内容,如果未能解决你的问题,请参考以下文章

折线编码/解码中的“级别”到底是啥?

聊聊视频中的编解码器,你所不知道的h264h265vp8vp9和av1编解码库

聊聊视频中的编解码器,你所不知道的h264h265vp8vp9和av1编解码库

OpenCV中的mp4视频编解码器

Base64编解码是什么?

Netty-解码器架构与常用解码器