提交 11d9d714 authored 作者: Frederic's avatar Frederic

Fix crash with the CVM

上级 1b08a05e
...@@ -133,6 +133,7 @@ class VM(object): ...@@ -133,6 +133,7 @@ class VM(object):
profile.apply_cimpl[node] = hasattr(thunk, 'cthunk') profile.apply_cimpl[node] = hasattr(thunk, 'cthunk')
if hasattr(self, 'variable_shape'):
profile.variable_shape = self.variable_shape.copy() profile.variable_shape = self.variable_shape.copy()
profile.variable_strides = self.variable_strides.copy() profile.variable_strides = self.variable_strides.copy()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论