损失函数一旦编译后好像之和y_pre与y_true有关了。我想定义一个损失函数,可以跟上一次的loss也有关。
https://blog.csdn.net/u011501388/article/details/84030578