ikostrikov / ikostrikov/TensorFlow-Pointer-Networks
why use zero attns
Open
- Dominant language
- Python
- Stars
- 203
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
# Merge input and previous attentions into one vector of the right size.
x = core_rnn_cell_impl._linear([inp, attns], cell.output_size, True)
which attns = array_ops.zeros(batch_attn_size, dtype=dtype)
why use zeros attns ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the shown attention initialization and read the surrounding implementation to understand why the attention vector is created with zeros. Done means recording a clear explanation of that rationale in the issue or relevant project documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100