mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[Other] Upgrade runtime module (#1068)
* Upgrade runtime module * Update option.h * Fix build error * Move enumerates * little modification * little modification * little modification: * Remove some useless flags
This commit is contained in:
@@ -121,9 +121,7 @@ class FASTDEPLOY_DECL FastDeployModel {
|
||||
std::vector<FDTensor>().swap(reused_output_tensors_);
|
||||
}
|
||||
|
||||
virtual fastdeploy::Runtime* CloneRuntime() {
|
||||
return runtime_->Clone();
|
||||
}
|
||||
virtual fastdeploy::Runtime* CloneRuntime() { return runtime_->Clone(); }
|
||||
|
||||
virtual bool SetRuntime(fastdeploy::Runtime* clone_runtime) {
|
||||
runtime_ = std::unique_ptr<Runtime>(clone_runtime);
|
||||
|
Reference in New Issue
Block a user