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

View File

@@ -81,7 +81,7 @@ def build_option(args):
elif args.backend.lower() == "ort":
option.use_ort_backend()
elif args.backend.lower() == "paddle":
option.use_paddle_backend()
option.use_paddle_infer_backend()
elif args.backend.lower() == "openvino":
assert args.device.lower(
) == "cpu", "OpenVINO backend require inference on device CPU."