graykode / graykode/nlp-tutorial
seq2seq(attention) have wrong comment
オープン
- 主要言語
- 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