tensorflow学习
我真的不叫苏图
保持热爱
展开
-
tensorflow2.0 循环神经网络--情感分类实战
tensorflow2.0 循环神经网络–情感分类实战代码本文主要是情感分类单层实战RNN Cell代码import osimport numpy as npimport tensorflow as tfconfig = tf.compat.v1.ConfigProto(gpu_options=tf.compat.v1.GPUOptions(allow_growth=True))sess = tf.compat.v1.Session(config=config)from tensorflow原创 2021-04-04 20:24:54 · 330 阅读 · 0 评论 -
TensorFlow 2.x调试错误解决:tensorflow.python.eager.core._SymbolicException: Inputs to eager execution fun
TensorFlow 2.x调试错误解决:tensorflow.python.eager.core._SymbolicException: Inputs to eager execution function cannot be Keras symbolic tensors, but found [<tf.Tensor ‘my_rnn/simple_rnn_cell/cond/Identity:0’ shape=(None, 100) dtype=float32>]以上在做循环神经网络与情感分原创 2021-04-04 16:56:07 · 707 阅读 · 1 评论