提交 a73db670 authored 作者: Frederic Bastien's avatar Frederic Bastien

Update the cython scan code

上级 aa41e544
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -62,7 +62,7 @@ import copy
def get_version():
return 0.294
return 0.295
@cython.boundscheck(False)
def perform(
......@@ -547,6 +547,8 @@ def perform(
try:
outs[j][0][pos[j]] = output_storage[j+offset_out].storage[0]
except ValueError as e:
if i == 0:
raise
raise ValueError(
"An output of the scan has changed shape. "
"This may be caused by a pushout optimization."
......
......@@ -17,7 +17,7 @@ from theano.gof import cmodule
_logger = logging.getLogger('theano.scan_module.scan_perform')
version = 0.294 # must match constant returned in function get_version()
version = 0.295 # must match constant returned in function get_version()
need_reload = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论