InvalidArgumentError: cannot compute Equal as input #1(zero-based) was expected to be a int32 tensor

InvalidArgumentError: cannot compute Equal as input #1(zero-based) was expected to be a int32 tensor but is a float tensor [Op: Equal] 如高亮黄色处,知道Op: Equal是值Equal判断运算出错,tf.equal()函数比较两个元素需要数据类型相同,而上述程序t
相关文章
相关标签/搜索