gradCheck

gradient check function to compare numeric grad and autograd

gradCheck
(
F
In
Out
string file = __FILE__
size_t line = __LINE__
)
(
ref F func
,,,
float eps = 1e-3
,
float rtol = 1e-3
,
float atol = 1e-5
)

Meta