提交 3aad0d24 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Minor cosmetic change in test

上级 ac136c79
......@@ -468,7 +468,7 @@ def test_shape_i():
a = SparseType('csr', dtype=sparse_dtype)()
f = theano.function([a], a.shape[1], mode='FAST_RUN')
assert f(sp.csr_matrix(random_lil((100,10), sparse_dtype, 3)))==(10)
assert f(sp.csr_matrix(random_lil((100,10), sparse_dtype, 3))) == 10
def test_shape():
# Test that getting the shape of a sparse variable
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论