How to get specific value in cost function in keras

后端 未结 0 787
青春惊慌失措
青春惊慌失措 2020-11-21 18:32

I have some cost function in keras as follows:

def loss(y_true, y_pred):
    cost = f1(y_pred * x)
    x = .9 * f2(pred) + .1 * f3(pred)
    return cost


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