module ‘tensorflow.contrib.rnn’ has no attribute ‘core_run_cell’

tf.contrib.rnn.core_run_cell.BasicLSTMCell()

直接改成

tf.contrib.rnn.BasicLSTMCell()