(y_true, y_pred)
| 17 | return T.sqr(T.maximum(1. - y_true * y_pred, 0.)).mean() |
| 18 | |
| 19 | def Hinge(y_true, y_pred): |
| 20 | return T.maximum(1. - y_true * y_pred, 0.).mean() |
| 21 | |
| 22 | cce = CCE = CategoricalCrossEntropy |
| 23 | bce = BCE = BinaryCrossEntropy |
nothing calls this directly
no outgoing calls
no test coverage detected