How to write this custom loss function so it produces a loss for each sample?

前端 未结 0 478
暗喜
暗喜 2021-02-07 06:48

I\'m using this custom loss function for ccc

def ccc(y_true, y_pred):
  ccc = ((ccc_v(y_true, y_pred) + ccc_a(y_true, y_pred)) / 2)
  return 1 - ccc
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题