Skip to content

Commit

Permalink
Rebase onto ngraph migration
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDuplensky committed May 7, 2021
1 parent cc743e7 commit aed9f51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include <ngraph/opsets/opset2.hpp>

#include <legacy/ie_layers.h>
#include "ie_parallel.hpp"
#include "utils/bfloat16.hpp"
#include "emitters/jit_load_store_emitters.hpp"
Expand All @@ -19,7 +18,9 @@

#include <string>
#include <vector>
#include <math.h>
#include <memory>
#include <algorithm>
#include <cmath>

using namespace MKLDNNPlugin;
using namespace InferenceEngine;
Expand Down Expand Up @@ -375,7 +376,7 @@ void MKLDNNROIPoolingNode::initSupportedPrimitiveDescriptors() {
if (!supportedPrimitiveDescriptors.empty())
return;

runtimePrecision = getCnnLayer()->insData[0].lock()->getPrecision();
runtimePrecision = getOriginalInputPrecisionAtPort(0);

if (!mayiuse(avx512_core)) {
if (runtimePrecision == Precision::BF16)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

#pragma once

#include <ie_common.h>
#include <mkldnn_node.h>
#include <ie_common.h>

#include <string>
#include <memory>
#include <vector>
Expand Down

0 comments on commit aed9f51

Please sign in to comment.