- gradCheck
auto gradCheck(ref F func, In inputs, Out gradOutputs, float eps = 1e-3, float rtol = 1e-3, float atol = 1e-5)
gradient check function to compare numeric grad and autograd
- gradCheckChain
auto gradCheckChain(In inputs, Out gradOutputs, float eps = 1e-3, float rtol = 1e-3, float atol = 1e-5)
gradient check function to compare numeric grad and autograd
- numericGrad
auto numericGrad(ref 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