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

在修改keras模型中的代碼,出現了問題。python AttributeError: 'Tensor' object hsa no attribute '_keras_history'code 顯示數據沒有keras回溯歷史。class 解決方式:lambda 加入lambda語句,將要實現的功能,換成lambda語句object Lambda在keras.layers.core.py從新聲明瞭
相關文章
相關標籤/搜索