[IE CLDNN] Minor fixed to NMS and TopK (#3224)
This commit is contained in:
committed by
GitHub
parent
a05b7c76b2
commit
1e392b0180
@@ -4981,7 +4981,7 @@ void Program::CreateNonMaxSuppressionPrimitive(cldnn::topology& topology, Infere
|
|||||||
auto centerPointBox = nonMaxSupression->center_point_box;
|
auto centerPointBox = nonMaxSupression->center_point_box;
|
||||||
auto outputIndices = nonMaxSupression->outData[0]->getTensorDesc().getDims()[0];
|
auto outputIndices = nonMaxSupression->outData[0]->getTensorDesc().getDims()[0];
|
||||||
|
|
||||||
auto name = layer_type_name_ID(layer);
|
auto name = layer->outData.size() > 1 ? (layer_type_lower(layer) + ":" + layer->outData[0]->getName()) : layer_type_name_ID(layer);
|
||||||
auto prim = cldnn::non_max_suppression(
|
auto prim = cldnn::non_max_suppression(
|
||||||
name,
|
name,
|
||||||
reorderedInputs[0],
|
reorderedInputs[0],
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ ParamsKey ArgMaxMinKernelAxis::GetSupportedKey() const {
|
|||||||
k.EnableDifferentTypes();
|
k.EnableDifferentTypes();
|
||||||
k.EnableBatching();
|
k.EnableBatching();
|
||||||
k.EnableTensorPitches();
|
k.EnableTensorPitches();
|
||||||
|
k.EnableTensorOffset();
|
||||||
return k;
|
return k;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user