mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +08:00
Rename PaddleBackend to PaddleInferBackend (#728)
This commit is contained in:
@@ -37,7 +37,7 @@ def build_option(args):
|
||||
if backend == "ort":
|
||||
option.use_ort_backend()
|
||||
elif backend == "paddle":
|
||||
option.use_paddle_backend()
|
||||
option.use_paddle_infer_backend()
|
||||
elif backend in ["trt", "paddle_trt"]:
|
||||
option.use_trt_backend()
|
||||
option.set_trt_input_shape("input", [1, 3, 112, 112])
|
||||
@@ -57,7 +57,7 @@ def build_option(args):
|
||||
elif backend == "ov":
|
||||
option.use_openvino_backend()
|
||||
elif backend == "paddle":
|
||||
option.use_paddle_backend()
|
||||
option.use_paddle_infer_backend()
|
||||
elif backend == "default":
|
||||
return option
|
||||
else:
|
||||
|
Reference in New Issue
Block a user