- gradCheck
auto gradCheck(F func, In inputs, Out gradOutputs, float eps, float rtol, float atol)
gradient check function to compare numeric grad and autograd
- gradCheckChain
auto gradCheckChain(In inputs, Out gradOutputs, float eps, float rtol, float atol)
gradient check function to compare numeric grad and autograd
- numericGrad
auto numericGrad(F func, In inputs, Out gradOutputs, float eps)
computes numeric grad that emulates analytical differential in eps range
- numericGradChain
auto numericGradChain(In inputs, Out gradOutputs, float eps)
computes numeric grad that emulates analytical differential in eps range
A module for testing