Why is my Keras custom loss function not working?

后端 未结 0 1857
南方客
南方客 2021-02-05 16:44

I wrote a squared loss function for categorisation of one hot encoded data

def squared_categorical_loss(y_true, y_pred):
    return K.mean(K.square(1.0 - K.sum(y_         


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