Explorar el Código

Merge pull request #52 from meagmohit/patch-1

fixed rnn_cell import error
Aymeric Damien hace 9 años
padre
commit
7ed5fbe326
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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