情感分类实战-experimental_run_tf_function=False 报错
当init方法有dropout时,函数fit时报以下错误,加上experimental_run_tf_function=False,错误消失,但是不明白这句话的作用: self.rnn_cell0 = layers.SimpleRNNCell(units, dropout=0.2)TypeError: An op outside of the function building...
原创
2019-12-23 21:46:52 ·
2859 阅读 ·
7 评论