Rename PaddleBackend to PaddleInferBackend (#728)

This commit is contained in:
Jason
2022-11-28 21:29:09 +08:00
committed by GitHub
parent eea4320b48
commit 4351ce8665
25 changed files with 34 additions and 34 deletions
@@ -120,7 +120,7 @@ def create_paddle_inference_runtime(model_dir,
use_fp16=False,
device_id=0):
option = fd.RuntimeOption()
option.use_paddle_backend()
option.use_paddle_infer_backend()
if device_id == -1:
option.use_cpu()
else: