未验证 提交 785004f5 编写于 作者: G Guanghua Yu 提交者: GitHub

Update save_quant_model.py

上级 a2a74a19
......@@ -64,7 +64,7 @@ def parse_args():
def transform_and_save_int8_model(original_path, save_path):
place = paddle.CPUPlace()
exe = paddle.static.Executor(place)
inference_scope = paddle.static.Executor.global_scope()
inference_scope = paddle.static.global_scope()
model_filename = 'model.pdmodel'
params_filename = 'model.pdiparams'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册