Fix tiny bug in mse cost function

This commit is contained in:
ranjanan 2017-03-30 12:09:40 +05:30
parent ca0e20ed7a
commit c773229136

View File

@ -5,4 +5,4 @@ function mse!(Δ, pred, target)
sumabs2(Δ)/2
end
mse(pred, target) = mse(similar(pred), pred, target)
mse(pred, target) = mse!(similar(pred), pred, target)