torch / optim

A numeric optimization package for Torch.
Other
197 stars 154 forks source link

Reduce numerical errors. #126

Closed gcinbis closed 8 years ago

gcinbis commented 8 years ago

x[i]+eps-2*eps may not result in exactly the same x[i], which may increase approximation error in the gradient estimate.

soumith commented 8 years ago

Thanks!