carpedm20/lstm-char-cnn-tensorflow

tf.nn.rnn_cell._linear is not available in Tensorflow 1.0.1

GabrielLin opened this issue · 6 comments

Dear, tf.nn.rnn_cell._linear is not available in Tensorflow 1.0.1.
The code location is in ops.py line 27. Could you please give some suggestions? Thanks.

Are you looking for this?
from tensorflow.contrib.rnn.python.ops.rnn_cell import _linear

that correct, @insikk

but how to use it tensor flow 1.2.1?

from tensorflow.python.ops import rnn_cell_impl
output = rnn_cell_impl._linear

for tf1.2.1

@insikk how to use it in tensorflow 1.6.0?
thanks

pip install tensorflow==0.12.1 worked for me

Sorry to the late reply since I missed the notification. Thank you all.