fix conflict for ascend

This commit is contained in:
yunyaoXYY
2022-12-19 10:15:53 +00:00
parent e7eea47b8b
commit f920096e7c
3 changed files with 5 additions and 2 deletions

View File

@@ -151,7 +151,9 @@ class FASTDEPLOY_DECL FastDeployModel {
bool CreateTimVXBackend();
bool CreateXPUBackend();
bool CreateCANNBackend();
std::shared_ptr<Runtime> runtime_;
bool runtime_initialized_ = false;
// whether to record inference time
bool enable_record_time_of_runtime_ = false;