graykode / graykode/nlp-tutorial
seq2seq(attention) have wrong comment
Aperta
- Lingua principale
- Jupyter Notebook
- Stelle
- 14.9k
- Fork
- 3.9k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```
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]
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.