The output of a pointer network is the input element at the chosen position. Selecting it is the argmax over the pointer distribution followed by a lookup.
Implement select_input(scores, inputs), returning the input at the highest-scoring position.
Take the argmax of the scores and index the input list.
No results yet
Run your code to check it against the examples, or submit to run every test.