grain.testing

Members

Functions

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

Meta