[docs] fix contrastive loss eq
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 30 Jul 2015 00:20:31 +0000 (17:20 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 30 Jul 2015 00:20:31 +0000 (17:20 -0700)
commit7f7085439cbe4eb9d5fff95b41d6345168398142
tree1c0c8298f64dd48a8f370cc08a069f1a322102f4
parente4aed047a2203bbc1f5bd36ed90bb7d9882b2e11
[docs] fix contrastive loss eq

make documented equation match the correct implementation of the
`max(margin - d, 0)^2` term in the loss. see #2321
include/caffe/loss_layers.hpp