예제 #1
0
 public float Loss(FloatArray targets, FloatArray prediction)
 {
     return(-(targets * prediction.Log()).Sum());
 }