首页 > 解决方案 > 在 keras 中实现自定义损失函数时 sample_weights 会发生什么?

问题描述

我想为我的(TimeDistributed)AutoEncoder 网络实现我自己的自定义损失函数。现在我想知道我的 samples_weights 将如何应用于这个损失函数?Sample_weight 是 model.fit 函数的参数。

提前致谢!

标签: tensorflowmachine-learningkerasloss-function

解决方案


推荐阅读