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

Fixed indentation

上级 a077e9af
...@@ -4073,8 +4073,8 @@ class T_Join_and_Split(unittest.TestCase): ...@@ -4073,8 +4073,8 @@ class T_Join_and_Split(unittest.TestCase):
c = as_tensor_variable(cv) c = as_tensor_variable(cv)
s = horizontal_stack(a, b, c) s = horizontal_stack(a, b, c)
want = np.array([[.1, .2, .3, .7, .3, .2, .1], want = np.array([[.1, .2, .3, .7, .3, .2, .1],
[.4, .5, .6, .8, .6, .5, .4]], [.4, .5, .6, .8, .6, .5, .4]],
dtype='float32') dtype='float32')
out = self.eval_outputs_and_check_join([s]) out = self.eval_outputs_and_check_join([s])
self.assertTrue((out == want).all()) self.assertTrue((out == want).all())
...@@ -4095,7 +4095,7 @@ class T_Join_and_Split(unittest.TestCase): ...@@ -4095,7 +4095,7 @@ class T_Join_and_Split(unittest.TestCase):
if isinstance(node.op, type(self.join_op))] if isinstance(node.op, type(self.join_op))]
want = np.array([[.1, .2, .3], [.4, .5, .6], want = np.array([[.1, .2, .3], [.4, .5, .6],
[.1, .2, .3], [.4, .5, .6]]) [.1, .2, .3], [.4, .5, .6]])
got = f(0) got = f(0)
assert np.allclose(got, want) assert np.allclose(got, want)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论