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

Fixed indentation

上级 ab5ef28e
...@@ -681,9 +681,9 @@ class test_Prod(unittest.TestCase): ...@@ -681,9 +681,9 @@ class test_Prod(unittest.TestCase):
[51840., 45360., 40320.]]) [51840., 45360., 40320.]])
fn = theano.function([x], gg, mode=self.mode) fn = theano.function([x], gg, mode=self.mode)
assert np.allclose(fn(x_val), assert np.allclose(fn(x_val),
[[663696., 422568., 301872.], [[663696., 422568., 301872.],
[233964., 190800., 161016.], [233964., 190800., 161016.],
[139248., 122652., 109584.]]) [139248., 122652., 109584.]])
unittest_tools.verify_grad(Prod(axis=1, no_zeros_in_input=True), unittest_tools.verify_grad(Prod(axis=1, no_zeros_in_input=True),
[x_val], [x_val],
mode=self.mode) mode=self.mode)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论