mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-10 11:00:19 +08:00
[Backend] Add KunlunXin XPU deploy support (#747)
* add xpu support * fix docs * update code * update doc * update code * update yolov5 * update cmake * add int64_t data support * fix * update download links * add en doc * update code * update xpu options * update doc * update doc * update doc * update lib links * update doc * update code * update lite xpu link * update xpu lib * update doc * update en doc
This commit is contained in:
@@ -72,10 +72,11 @@ class FASTDEPLOY_DECL RKYOLOPostprocessor {
|
||||
}
|
||||
|
||||
// Set Anchor
|
||||
void SetAnchor(std::vector<int> anchors,int anchor_per_branch){
|
||||
void SetAnchor(std::vector<int> anchors, int anchor_per_branch) {
|
||||
anchors_ = anchors;
|
||||
anchor_per_branch_ = anchor_per_branch;
|
||||
};
|
||||
}
|
||||
|
||||
private:
|
||||
std::vector<int> anchors_ = {10, 13, 16, 30, 33, 23, 30, 61, 62,
|
||||
45, 59, 119, 116, 90, 156, 198, 373, 326};
|
||||
|
Reference in New Issue
Block a user