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

Merged

...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论