提交 9b5b0078 authored 作者: James Bergstra's avatar James Bergstra

adding debugmode to sandbox

上级 834f0b6a
差异被折叠。
import theano
import theano.tensor
import debugmode
def test0():
x = theano.tensor.dvector()
f = theano.function([x], (2.*x + 7) / 2., mode=debugmode.OptCheck())
print f([1,2])
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论