Skip to content

Commit

Permalink
Fix wrong usage of convolution weight index
Browse files Browse the repository at this point in the history
Signed-off-by: Shoujiang Ma <[email protected]>
  • Loading branch information
mashoujiang committed May 19, 2021
1 parent 04874aa commit 485e217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inference-engine/src/auto_plugin/auto_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace {
std::dynamic_pointer_cast<ngraph::opset1::ConvolutionBackpropData>(node) ||
std::dynamic_pointer_cast<ngraph::op::ConvolutionIE>(node) ||
std::dynamic_pointer_cast<ngraph::op::DeconvolutionIE>(node)) {
auto layerType = node->input(0).get_element_type().get_type_name();
auto layerType = node->input(1).get_element_type().get_type_name();
if (layerType == "f32")
return METRIC_VALUE(FP32);
if (layerType == "f16")
Expand Down

0 comments on commit 485e217

Please sign in to comment.