Skip to content

Commit

Permalink
Merge pull request #12 from liubo-intel/liubo/multiclass_nms_cpu_plugin
Browse files Browse the repository at this point in the history
Liubo/multiclass nms cpu plugin
  • Loading branch information
luo-cheng2021 authored Jul 15, 2021
2 parents 0e21b43 + ad2642a commit 553c99b
Show file tree
Hide file tree
Showing 9 changed files with 1,046 additions and 222 deletions.
3 changes: 2 additions & 1 deletion inference-engine/src/mkldnn_plugin/cpu_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ enum Type {
ExperimentalDetectronGenerateProposalsSingleImage,
ExtractImagePatches,
NonMaxSuppression,
MatrixNms
MatrixNms,
MulticlassNms
};

enum Algorithm {
Expand Down
3 changes: 2 additions & 1 deletion inference-engine/src/mkldnn_plugin/mkldnn_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ static const InferenceEngine::details::caseless_unordered_map<std::string, Type>
{ "ExperimentalDetectronGenerateProposalsSingleImage", ExperimentalDetectronGenerateProposalsSingleImage},
{ "ExtractImagePatches", ExtractImagePatches},
{ "NonMaxSuppressionIEInternal", NonMaxSuppression},
{ "MatrixNms", MatrixNms}
{ "MatrixNms", MatrixNms},
{ "MulticlassNms", MulticlassNms}
};

Type TypeFromName(const std::string type) {
Expand Down
2 changes: 2 additions & 0 deletions inference-engine/src/mkldnn_plugin/mkldnn_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ static std::string NameFromType(Type type) {
return "NonMaxSuppression";
case MatrixNms:
return "MatrixNms";
case MulticlassNms:
return "MulticlassNms";
default:
return "Unknown";
}
Expand Down
Loading

0 comments on commit 553c99b

Please sign in to comment.