mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 09:07:10 +08:00
Add RKYOLOv5 RKYOLOX RKYOLOV7 (#709)
* 更正代码格式 * 更正代码格式 * 修复语法错误 * fix rk error * update * update * update * update * update * update * update Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
namespace fastdeploy {
|
||||
|
||||
struct FASTDEPLOY_DECL FDTensor {
|
||||
// These two parameters are general parameters of quantitative model.
|
||||
std::pair<int32_t, std::vector<float>> quantized_parameter_ = {0, {0}};
|
||||
void SetQuantizationInfo(int32_t zero_point, std::vector<float>& scale);
|
||||
const std::pair<int32_t, std::vector<float>> GetQuantizationInfo() const;
|
||||
|
||||
// std::vector<int8_t> data;
|
||||
void* buffer_ = nullptr;
|
||||
std::vector<int64_t> shape = {0};
|
||||
|
Reference in New Issue
Block a user