carpedm20 / lstm-char-cnn-tensorflow

in progress
MIT License
769 stars 243 forks source link

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

Open GabrielLin opened 7 years ago

GabrielLin commented 7 years ago

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.

insikk commented 7 years ago

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

SeekPoint commented 7 years ago

that correct, @insikk

but how to use it tensor flow 1.2.1?

SeekPoint commented 7 years ago

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

for tf1.2.1

SkylerHuang commented 6 years ago

@insikk how to use it in tensorflow 1.6.0? thanks

prasad01dalavi commented 5 years ago

pip install tensorflow==0.12.1 worked for me

GabrielLin commented 5 years ago

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