[Backend] Add fp16 support for ONNXRuntime-GPU (#1239)

* add fp16 support for ort-gpu

* add enable_ort_fp16 option

* fix

* fix bugs

* use fp16 for test

* update code

* update code

* fix windows bug
This commit is contained in:
yeliang2258
2023-03-23 18:23:13 +08:00
committed by GitHub
parent b62912ff9c
commit cae341e6c5
9 changed files with 67 additions and 24 deletions

View File

@@ -51,7 +51,6 @@ class FASTDEPLOY_DECL CenterFacePreprocessor{
// target size, tuple of (width, height), default size = {640, 640}
std::vector<int> size_;
};
} // namespace facedet