tf.contrib.rnn.LSTMCell如何指向tf.python.ops.rnn_cell_impl.LSTMCell?

tf.contrib.rnn.LSTMCell如何指向tf.python.ops.rnn_cell_impl.LSTMCell?,python,tensorflow,Python,Tensorflow,我正在学习tensorflow和python打包,我想知道在做这件事的时候引擎盖下发生了什么 import tensorflow as tf tf.contrib.rnn.LSTMCell LSTMCell的实现位于tf.python.ops.rnn_cell\u impl.LSTMCell而不是tf.contrib.rnn.LSTMCell 是因为tf.contrib.rnn.\uuuu init\uuuu导入tf.python.ops.rnn\u单元格.,导入rnn\u单元格\u impl

我正在学习tensorflow和python打包,我想知道在做这件事的时候引擎盖下发生了什么

import tensorflow as tf
tf.contrib.rnn.LSTMCell
LSTMCell的实现位于
tf.python.ops.rnn_cell\u impl.LSTMCell
而不是
tf.contrib.rnn.LSTMCell


是因为
tf.contrib.rnn.\uuuu init\uuuu
导入
tf.python.ops.rnn\u单元格.
,导入
rnn\u单元格\u impl.LSTMCell
?还是完全不同?谢谢

您使用的是哪个Tensorflow版本?我使用的是Tensorflow 1.2和python 3.5。谢谢