alejandro-isaza / BrainCore

The iOS and OS X neural network framework
MIT License
380 stars 49 forks source link

Add L2LossLayer #16

Closed aidangomez closed 8 years ago

aidangomez commented 8 years ago

Add L2Loss = sum((input[i] - input[i + count/2]) \ 2) / 2 for i in 0..<count/2