提交 c2796f79 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Another fix I forgot to push earlier -- fixes a broken test in float32

上级 b9f3c21e
...@@ -409,7 +409,7 @@ class T_SharedRandomStreams(unittest.TestCase): ...@@ -409,7 +409,7 @@ class T_SharedRandomStreams(unittest.TestCase):
random = RandomStreams(utt.fetch_seed()) random = RandomStreams(utt.fetch_seed())
low = tensor.dvector() low = tensor.dvector()
high = tensor.dcol() high = tensor.dcol()
out = random.uniform(low=low, high=high) out = random.uniform(low=low, high=high, dtype='float64')
assert out.ndim == 2 assert out.ndim == 2
f = function([low, high], out) f = function([low, high], out)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论