提交 41adddb7 authored 作者: Frederic's avatar Frederic

pep8

上级 9dd0401f
......@@ -49,6 +49,7 @@ def test_hash_from_dict():
# List are not hashable. So they are transformed into tuple.
assert hash_from_dict({0: (0,)}) == hash_from_dict({0: [0]})
def test_shape_of_variables_simple():
x = theano.tensor.matrix('x')
y = x+x
......@@ -62,6 +63,7 @@ def test_shape_of_variables_simple():
assert shapes[x] == (5, 1)
assert shapes[y] == (5, 5)
def test_shape_of_variables_subtensor():
x = theano.tensor.matrix('x')
subx = x[1:]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论