未验证 提交 5c8e7995 编写于 作者: C cc 提交者: GitHub

Use the specificed scope in post quant, test=develop (#25384)

上级 eb3173e2
...@@ -342,7 +342,8 @@ class PostTrainingQuantization(object): ...@@ -342,7 +342,8 @@ class PostTrainingQuantization(object):
self._executor.run(program=self._program, self._executor.run(program=self._program,
feed=data, feed=data,
fetch_list=self._fetch_list, fetch_list=self._fetch_list,
return_numpy=False) return_numpy=False,
scope=self._scope)
if self._algo == "KL": if self._algo == "KL":
self._sample_data(batch_id) self._sample_data(batch_id)
else: else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册