类名/API原型 |
类/API类别 |
变更类别 |
变更说明 |
变更版本 |
---|---|---|---|---|
std::string ConfigData::GetCfgJson(); |
C++ |
修改 |
由const web::json::value &ConfigData::GetCfgJson(); 更改为std::string ConfigData::GetCfgJson()。 |
5.0.0 |
std::string PluginNode::ToJson() const; |
C++ |
修改 |
由web::json::value PluginNode::ToJson() const;更改为std::string PluginNode::ToJson() const。 |
6.0.RC1 |
std::string Stream::ToJson() const; |
C++ |
修改 |
由web::json::value Stream::ToJson() const;更改为std::string Stream::ToJson() const。 |
6.0.RC1 |
uint64_t GetCurrentSDKVersion(); |
C++ |
删除 |
废弃接口删除,请使用GetSDKVersion接口进行版本查询。 |
5.0.0 |
APP_ERROR TensorOperations::Multiply(const Tensor &src1, const Tensor &src2, Tensor &dst, double scale, AscendStream& stream = AscendStream::DefaultStream()); |
C++ |
新增 |
重载新接口,增加scale参数,支持不同类型输入,输出类型按输入中精度高者确定。 |
5.0.0 |
APP_ERROR SqrSum(const Tensor &src, Tensor &dst, AscendStream &stream = AscendStream::DefaultStream()); |
C++ |
新增 |
新增张量平方求和计算SqrSum。 |
6.0.RC1 |
APP_ERROR MinMaxLoc(const Tensor &src, Tensor &minVal, Tensor &maxVal, Tensor &minLoc, Tensor &maxLoc, AscendStream &stream = AscendStream::DefaultStream()); |
C++ |
新增 |
张量求元素最大最小值及其位置索引算法MinMaxLoc。 |
6.0.RC1 |
APP_ERROR MinMax(const Tensor &src, Tensor &minVal, Tensor &maxVal, AscendStream &stream = AscendStream::DefaultStream()); |
C++ |
新增 |
求得输入张量的最小值minVal和最大值maxVal。 |
6.0.RC1 |
APP_ERROR AbsSum(const Tensor &src, Tensor &dst, AscendStream &stream = AscendStream::DefaultStream()); |
C++ |
新增 |
张量绝对值求和计算AbsSum。 |
6.0.RC1 |
APP_ERROR Divide(const Tensor &src1, const Tensor &src2, Tensor &dst, float scale, AscendStream& stream = AscendStream::DefaultStream()); |
C++ |
新增 |
张量除法Divide。 |
6.0.RC1 |
explicit AscendStream::AscendStream(int32_t deviceId, AscendStream::FlagType flag); |
C++ |
新增 |
AscendStream类的构造函数。 |
6.0.RC1 |
const uint32_t GetCurrentMajorVersion(); |
C++ |
删除 |
废弃接口删除,请使用GetSDKVersion接口进行版本查询。 |
5.0.0 |
const uint32_t GetCurrentMinorVersion(); |
C++ |
删除 |
废弃接口删除,请使用GetSDKVersion接口进行版本查询。 |
5.0.0 |
const uint32_t GetCurrentMicroVersion(); |
C++ |
删除 |
废弃接口删除,请使用GetSDKVersion接口进行版本查询。 |
5.0.0 |
Yolov3PostProcessor |
C++ |
删除 |
废弃接口删除,请使用tensorinfer框架模型后处理类。 |
5.0.0 |
Resnet50PostProcessor |
C++ |
删除 |
废弃接口删除,请使用tensorinfer框架模型后处理类。 |
5.0.0 |
CtpnPostProcessor |
C++ |
删除 |
废弃接口删除,请使用tensorinfer框架模型后处理类。 |
5.0.0 |
FasterRcnnPostProcessor |
C++ |
删除 |
废弃接口删除,请使用tensorinfer框架模型后处理类。 |
5.0.0 |
APP_ERROR ClassPostProcessBase::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR KeypointPostProcessBase::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR ObjectPostProcessBase::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
virtual APP_ERROR ObjectPostProcessBase::Process(const std::vector<TensorBase> &tensors, std::vector<std::vector<ObjectInfo>> &objectInfos, const std::vector<ImagePreProcessInfo> &imagePreProcessInfos); |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
virtual APP_ERROR PostProcessBase::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig); |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR PostProcessBase::LoadConfigDataAndLabelMap(const std::map<std::string, std::shared_ptr<void>> &postConfig); |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR SemanticSegPostProcessBase::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR TextGenerationPostProcessBase::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR TextObjectPostProcessBase::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR Resnet50PostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR HigherHRnetPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR OpenPosePostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR FasterRcnnPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR FasterRcnnPostProcess::Process(const std::vector<TensorBase> &tensors, std::vector<std::vector<ObjectInfo>> &objectInfos, const std::vector<ImagePreProcessInfo> &imagePreProcessInfos = {}) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR MaskRcnnMindsporePost::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR MaskRcnnMindsporePost::Process(const std::vector<TensorBase> &tensors, std::vector<std::vector<ObjectInfo>> &objectInfos, const std::vector<ImagePreProcessInfo> &imagePreProcessInfos = {}) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR RetinaNetPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR RetinaNetPostProcess::Process(const std::vector<TensorBase> &tensors, std::vector<std::vector<ObjectInfo>> &objectInfos, const std::vector<ImagePreProcessInfo> &imagePreProcessInfos = {}) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR SsdMobilenetFpnMindsporePost::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR SsdMobilenetFpnMindsporePost::Process(const std::vector<TensorBase> &tensors, std::vector<std::vector<ObjectInfo>> &objectInfos, const std::vector<ImagePreProcessInfo> &imagePreProcessInfos = {}) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR SsdMobilenetv1FpnPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR SsdMobilenetv1FpnPostProcess::Process(const std::vector<TensorBase> &tensors, std::vector<std::vector<ObjectInfo>> &objectInfos, const std::vector<ImagePreProcessInfo> &imagePreProcessInfos = {}) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR Ssdvgg16PostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR Ssdvgg16PostProcess::Process(const std::vector<TensorBase> &tensors, std::vector<std::vector<ObjectInfo>> &objectInfos, const std::vector<ImagePreProcessInfo> &imagePreProcessInfos = {}) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR Yolov3PostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR Yolov3PostProcess::Process(const std::vector<TensorBase>& tensors, std::vector<std::vector<ObjectInfo>>& objectInfos, const std::vector<ImagePreProcessInfo>& imagePreProcessInfos) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR Deeplabv3Post::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR UNetMindSporePostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR CrnnPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR TransformerPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR CtpnPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
APP_ERROR PSENetPostProcess::Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; |
C++ |
删除 |
废弃接口删除,该接口已有其他函数原型替代。 |
5.0.0 |
ModelPostProcessorBase类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用tensorinfer框架模型后处理类。 |
6.0.RC1 |
ObjectPostProcessorBase类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用tensorinfer框架模型后处理类。 |
6.0.RC1 |
mxpi_nmsoverlapedroi插件 |
C++ |
退出声明 |
即将废弃,预计2024年12月正式删除,请使用mxpi_nmsoverlapedroiV2插件。 |
6.0.RC1 |
std::string GetError(APP_ERROR err, std::string moduleName = ""); |
C++ |
退出声明 |
即将废弃,预计2024年12月正式删除,请使用GetErrorInfo接口。 |
6.0.RC1 |
read_image(inputPath, deviceId, decodeFormat) |
Python |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用ImageProcessor类的图片解码decode接口。 |
6.0.RC1 |
resize(inputImage, resize, interpolation) |
Python |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用ImageProcessor类的图像缩放resize接口。 |
6.0.RC1 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,该接口为内部接口,不再对外开放。 |
5.0.0 |
|
Python |
退出声明 |
即将废弃,预计2025年3月正式删除,该接口为内部接口,不再对外开放。 |
5.0.0 |
|
std::mutex& AscendStream::GetMutex(); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,该接口为内部接口,不再对外开放。 |
6.0.RC1 |
APP_ERROR DeviceManager::SetDeviceSimple(DeviceContext device) |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用DeviceManager类的SetDevice接口。 |
6.0.RC1 |
DvppWrapper类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,该类为内部类,不再对外开放。 |
6.0.RC1 |
ModelInferenceProcessor类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用Model类。 |
6.0.RC1 |
TensorBuffer类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用Tensor类。 |
6.0.RC1 |
TensorBase类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用Tensor类。 |
6.0.RC1 |
TensorShape类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用Tensor类。 |
6.0.RC1 |
TensorContext类 |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用DeviceManager类。 |
6.0.RC1 |
APP_ERROR MemoryHelper::Memcpy(MemoryData& dest, const MemoryData& src, size_t count); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用MemoryHelper类的MxbsMemcpy接口。 |
6.0.RC1 |
static APP_ERROR MemoryHelper::Free(MemoryData& data); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用MemoryHelper类的MxbsFree接口。 |
6.0.RC1 |
static APP_ERROR MemoryHelper::Memset(MemoryData& data, int32_t value, size_t count) |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用MemoryHelper类的MxbsMemset接口。 |
6.0.RC1 |
static APP_ERROR MemoryHelper::Memset(MemoryData& data, int32_t value, size_t count, AscendStream &stream) |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用MemoryHelper类的MxbsMemset接口。 |
6.0.RC1 |
static APP_ERROR MemoryHelper::Malloc(MemoryData& data); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用MemoryHelper类的MxbsMalloc接口。 |
6.0.RC1 |
APP_ERROR ImageProcessor::Resize(const Image& inputImage, const Size& resize, Image& outputImage, const Interpolation interpolation = Interpolation::HUAWEI_HIGH_ORDER_FILTER); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
APP_ERROR ImageProcessor::Crop(const Image& inputImage, const Rect& cropRect, Image& outputImage); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
APP_ERROR ImageProcessor::Crop(const Image& inputImage, const std::vector<Rect>& cropRectVec, std::vector<Image>& outputImageVec); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
APP_ERROR ImageProcessor::Crop(const std::vector<Image>& inputImageVec, const std::vector<Rect>& cropRectVec, std::vector<Image>& outputImageVec); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
APP_ERROR ImageProcessor::CropResize(const Image& inputImage, const std::vector<Rect>& cropRectVec, const Size& resize, std::vector<Image>& outputImageVec); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
APP_ERROR ImageProcessor::CropResize(const Image& inputImage, const std::vector<std::pair<Rect, Size>>& cropResizeVec, std::vector<Image>& outputImageVec); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
APP_ERROR ImageProcessor::CropResize(const std::vector<Image>& inputImageVec, const std::vector<std::pair<Rect, Size>>& cropResizeVec, std::vector<Image>& outputImageVec); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
APP_ERROR ImageProcessor::CropAndPaste(const Image& inputImage, const std::pair<Rect, Rect>& cropPasteRect, Image& pastedImage); |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用该接口其他函数原型。 |
6.0.RC1 |
static APP_ERROR Tensor::TensorMalloc(Tensor &tensor) |
C++ |
退出声明 |
即将废弃,预计2025年12月正式删除,请使用Tensor类的Malloc接口。 |
5.0.0 |
APP_ERROR ThresholdBinary(const Tensor &src, Tensor &dst, float thresh, float maxVal, AscendStream &stream = AscendStream::DefaultStream()); |
C++ |
退出声明 |
即将废弃,预计2025年9月正式删除,请使用Threshold接口。 |
6.0.RC3 |
APP_ERROR Threshold(const Tensor &src, Tensor &dst, float thresh, float maxVal, const ThresholdType &thresholdType = ThresholdType::THRESHOLD_BINARY, AscendStream &stream = AscendStream::DefaultStream()); |
C++ |
新增 |
新增阈值处理接口。 |
6.0.RC3 |
APP_ERROR Tensor::Malloc() |
C++ |
新增 |
新增Tensor的内存申请接口。 |
6.0.RC3 |
类名/API原型/头文件 |
类/API/头文件类别 |
变更类别 |
变更说明 |
变更版本 |
---|---|---|---|---|
Constants.h |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,该文件为内部头文件,不再对外开放。 |
6.0.RC1 |
DvppWrapperDataType.h |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,该文件为内部头文件,不再对外开放。 |
6.0.RC1 |
TensorOperations.h |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用PerElementOperations.h等头文件。 |
6.0.RC1 |
TensorDvpp.h |
C++ |
退出声明 |
即将废弃,预计2025年3月正式删除,请使用PerElementOperations.h等头文件。 |
6.0.RC1 |