提交 12188b14 authored 作者: Sigurd Spieckermann's avatar Sigurd Spieckermann

added/fixed tests

上级 080f282d
...@@ -1721,7 +1721,9 @@ def test_local_useless_subtensor(): ...@@ -1721,7 +1721,9 @@ def test_local_useless_subtensor():
([0, 0], False), ([0, 0], False),
([0, 0, 1], False), ([0, 0, 1], False),
(T.arange(2), True), (T.arange(2), True),
(T.arange(2, -1), False), (T.arange(0, 2), True),
(T.arange(0, 2, 2), False),
(T.arange(0, 2, -1), False),
(T.arange(1, 2), False)): (T.arange(1, 2), False)):
f = function([x], tensor.exp(x_c).__getitem__(dims), mode=mode_opt) f = function([x], tensor.exp(x_c).__getitem__(dims), mode=mode_opt)
#theano.printing.debugprint(f) #theano.printing.debugprint(f)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论