rnn/rnn_cell包
- tensorflow1.0引入方法
from tensorflow.contrib import rnn
- tensorflow2.0引入方法
from tensorflow.python.ops import rnn,rnn_cell
【参考链接】
crf包
- tensorflow1.0引入方法
from tensorflow.contrib.crf
from tensorflow.contrib import rnn
from tensorflow.python.ops import rnn,rnn_cell
【参考链接】
from tensorflow.contrib.crf