Attention Mechanism
- 4-1. Seq2Seq - Change Word
-
Paper Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation(2014)
'''
code by Tae Hwan Jung(Jeff Jung) @graykode
reference : https://github.com/golbin/TensorFlow-Tutorials/blob/master/10%20-%20RNN/03%20-%20Seq2Seq.py
'''
import tensorflow as tf
import numpy as np
tf.reset_default_graph