浏览代码

Deprecated model (#57)

change to tensorflow.python.ops since the model was deprecated
Arthur CHAN 8 年之前
父节点
当前提交
60dc7c144f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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