ikostrikov / ikostrikov/TensorFlow-Pointer-Networks

why use zero attns

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.