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

@@ -57,7 +57,7 @@ void InitAndInfer(const std::string& model_dir, const std::string& image_file,
// fastdeploy::RuntimeOption option;
// option.UseCpu();
// option.UsePaddleBackend();
// option.UsePaddleInferBackend();
// std::cout<<"Xyy-debug, enable Paddle Backend==!";
// std::string model_dir = argv[1];
@@ -89,7 +89,7 @@ int main(int argc, char* argv[]) {
std::cout<<"Use ORT!"<<std::endl;
} else if (flag == 1) {
option.UseCpu();
option.UsePaddleBackend();
option.UsePaddleInferBackend();
std::cout<<"Use PP!"<<std::endl;
}