self.cell = rnn_cell.BasicLSTMCell(args.state_size)
self.cell = rnn_cell.MultiRNNCell([self.cell] * args.num_layers)
为了尽量不改动后面的代码,将from tensorflow.contrib.rnn import core_rnn_cell as rnn_cell,
调整为import tensorflow.contrib.rnn as rnn_cell
self.cell = rnn_cell.BasicLSTMCell(args.state_size)
self.cell = rnn_cell.MultiRNNCell([self.cell] * args.num_layers)
为了尽量不改动后面的代码,将from tensorflow.contrib.rnn import core_rnn_cell as rnn_cell,
调整为import tensorflow.contrib.rnn as rnn_cell