提交 b00fcb83 authored 作者: Mohammad Pezeshki's avatar Mohammad Pezeshki

*args removed

上级 7238b4f7
......@@ -93,11 +93,11 @@ from theano.gradient import Rop, Lop, grad, subgraph_grad
# needed during that phase.
def test(*args):
def test():
import theano.tests
if hasattr(theano.tests, "TheanoNoseTester"):
test = theano.tests.TheanoNoseTester().test
test(*args)
return test()
else:
raise ImportError("The nose module is not installed.")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论