graykode / graykode/nlp-tutorial

seq2seq(attention) have wrong comment

オープン
#42 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
14.9k
フォーク
3.9k
PR マージ指標
30日以内にマージされた PR はありません

説明

```
context = tf.matmul(attn_weights, enc_outputs)
dec_output = tf.squeeze(dec_output, 0) # [1, n_step]
context = tf.squeeze(context, 1) # [1, n_hidden]
```

I think dec_output shape is [1,n_hidden]

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with the seq2seq attention example containing the shown tf.matmul and tf.squeeze calls. Verify the shape represented by dec_output, then update its inline comment to match the actual tensor shape; done means the comment is accurate and the surrounding context comment remains consistent.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
tensorflow
領域
machine-learning
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。