Open hunterMG opened 5 years ago
In process_decoder_input, what's the purpose of the code below:
process_decoder_input
after_slice = tf.strided_slice(target_data, [0, 0], [batch_size, -1], [1, 1])
It seems that it just remove the last word from each sentence(a punctuation actually).
In
process_decoder_input
, what's the purpose of the code below:It seems that it just remove the last word from each sentence(a punctuation actually).