AttributeError: 'Tensor' object has no attribute '_keras_history'

我出現這個問題的緣由是在keras中使用了 + ,而非add操做致使的。import x = x1+x2im 應該改成 import keras x = keras.layers.add([x1,x2]) 就行了
相關文章
相關標籤/搜索