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

No 's' to "32 bit"

上级 28ea8a17
...@@ -583,8 +583,8 @@ class T_examples(unittest.TestCase): ...@@ -583,8 +583,8 @@ class T_examples(unittest.TestCase):
def test_examples_8(self): def test_examples_8(self):
from theano import shared from theano import shared
# Force the dtype to int64 to work correctly on 32 bits computer. # Force the dtype to int64 to work correctly on 32 bit computer.
# Otherwise, it create by default a int32 on 32 bits computer. # Otherwise, it create by default a int32 on 32 bit computer.
state = shared(numpy.int64(0)) state = shared(numpy.int64(0))
inc = T.iscalar('inc') inc = T.iscalar('inc')
accumulator = function([inc], state, updates=[(state, state+inc)]) accumulator = function([inc], state, updates=[(state, state+inc)])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论