How to create Seq2Seq Attention regression model with Matlab?

How can I create a Seq2Seq regression model with multi-head attention? Thanks in advance!

回答 (1 件)

Ranjeet
Ranjeet 2023 年 6 月 30 日

0 投票

Hi Shan,
You may refer to the following example presenting sequence to sequence regression using attention mechanism
Have a look at the parameternumHeads in the example for multi-head attention.

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2023 年 6 月 5 日

回答済み:

2023 年 6 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by