Module 'tensorflow.contrib.rnn' has no attribute 'core_rnn_cell'

Convert this:

tf.contrib.rnn.core_rnn_cell.BasicLSTMCell(lstm_size)

To this

tf.contrib.rnn.BasicLSTMCell(lstm_size)