当我使用keras构建我的模型时,我使用了adam优化器,下面列出了模型的参数 .

enter image description here

但是当我使用tensorflow来构建时,变量是不同的 .

enter image description here

用keras构建的模型比tensorflow工作得更好,我很困惑 . 我只使用LSTM层和密集层,我的keras使用tensorflow bakend