(y_true, y_pred)
| 5 | return T.nnet.categorical_crossentropy(y_pred, y_true).mean() |
| 6 | |
| 7 | def BinaryCrossEntropy(y_true, y_pred): |
| 8 | return T.nnet.binary_crossentropy(y_pred, y_true).mean() |
| 9 | |
| 10 | def MeanSquaredError(y_true, y_pred): |
| 11 | return T.sqr(y_pred - y_true).mean() |
nothing calls this directly
no outgoing calls
no test coverage detected