tensorflow - How tf.contrib.rnn.LSTMCell points to tf.python.ops.rnn_cell_impl.LSTMCell? -
i learning tensorflow , python packaging, , wondering happened under hood when doing
import tensorflow tf tf.contrib.rnn.lstmcell
the implementation of lstmcell locates @ tf.python.ops.rnn_cell_impl.lstmcell
instead of tf.contrib.rnn.lstmcell
.
is because tf.contrib.rnn.__init__
imports tf.python.ops.rnn_cell.*
, imports rnn_cell_impl.lstmcell
? or it's totally different?
Comments
Post a Comment