Parcourir la source

fixed rnn_cell import error

rnn, rnn_cell module is shifted to tensorflow.python.ops
meagmohit il y a 9 ans
Parent
commit
773840ded4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/3_NeuralNetworks/recurrent_network.py

+ 1 - 1
examples/3_NeuralNetworks/recurrent_network.py

@@ -8,7 +8,7 @@ Project: https://github.com/aymericdamien/TensorFlow-Examples/
 '''
 
 import tensorflow as tf
-from tensorflow.models.rnn import rnn, rnn_cell
+from tensorflow.python.ops import rnn, rnn_cell
 import numpy as np
 
 # Import MINST data