lstm-char-cnn-tensorflow icon indicating copy to clipboard operation
lstm-char-cnn-tensorflow copied to clipboard

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

Open GabrielLin opened this issue 8 years ago • 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.

GabrielLin avatar Apr 01 '17 02:04 GabrielLin

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

insikk avatar Apr 27 '17 06:04 insikk

that correct, @insikk

but how to use it tensor flow 1.2.1?

SeekPoint avatar Jul 10 '17 11:07 SeekPoint

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

for tf1.2.1

SeekPoint avatar Jul 10 '17 12:07 SeekPoint

@insikk how to use it in tensorflow 1.6.0? thanks

SkylerHuang avatar May 10 '18 08:05 SkylerHuang

pip install tensorflow==0.12.1 worked for me

prasad01dalavi avatar Mar 14 '19 10:03 prasad01dalavi

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

GabrielLin avatar Apr 10 '19 14:04 GabrielLin