我想实现自定义丢失功能,我阅读以下链接
-
Implementing custom loss function in keras with different sizes for y_true and y_pred
-
What is y_true and y_pred when creating a custom metric in Keras?
但是当我在度量函数中返回以下内容时
K.sum(y_true)
它返回一个浮点值 .
我的标签值都是积分,那么为什么它们的总和是浮动值呢?