graykode / graykode/nlp-tutorial
seq2seq(attention) have wrong comment
Abierto
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 14.9k
- Forks
- 3.9k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
```
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]
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- tensorflow
- Área
- machine-learning
- Tipo de issue
- Documentación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 55/100