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
相關文章
相關標籤/搜索