提交 f435d44f authored 作者: amrithasuresh's avatar amrithasuresh

Updated numpy as np

上级 9e7c505b
......@@ -1563,8 +1563,8 @@ def verify_grad(fun, pt, n_tests=2, rng=None, eps=None,
Example:
>>> verify_grad(theano.tensor.tanh,
... (numpy.asarray([[2,3,4], [-1, 3.3, 9.9]]),),
... rng=numpy.random)
... (np.asarray([[2,3,4], [-1, 3.3, 9.9]]),),
... rng=np.random)
Raises an Exception if the difference between the analytic gradient and
numerical gradient (computed through the Finite Difference Method) of a
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论