未验证 提交 c233328c 编写于 作者: H hong 提交者: GitHub

change zero copy from true to false; test=develop (#24946)

上级 a7cb97a1
......@@ -2015,7 +2015,8 @@ class TestBook(LayerTest):
if base.enabled():
return base.to_variable(
value=self._get_np_data(shape, dtype, append_batch_size),
name=name)
name=name,
zero_copy=False)
else:
if set_feed_dict:
self._feed_dict[name] = self._get_np_data(shape, dtype,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册