module has no attribute 'seq2seq'

tensorflow 中
tf.nn.seq2seq.sequence_loss_by_example
	to
	tf.contrib.legacy_seq2seq.sequence_loss_by_example

tf.nn.rnn_cell.
	to
	tf.contrib.rnn.

	1.0修改了很多地方,错误可取官网搜索。
原文地址:https://www.cnblogs.com/xqnq2007/p/7425481.html