Sfoglia il codice sorgente

Deprecated model (#57)

change to tensorflow.python.ops since the model was deprecated
Arthur CHAN 9 anni fa
parent
commit
60dc7c144f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/3_NeuralNetworks/bidirectional_rnn.py

+ 1 - 1
examples/3_NeuralNetworks/bidirectional_rnn.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