Skip to content

Commit

Permalink
Fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnick committed May 12, 2021
1 parent df4fd54 commit f6c7687
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inference-engine/src/mkldnn_plugin/mkldnn_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ void MKLDNNGraph::PullOutputData(const BlobMap &out) {
const MKLDNNMemory& intr_blob = node->getParentEdgeAt(0)->getMemory();

if (!out.count(name)) {
continue;
IE_THROW(Unexpected) << "The network outputs do not contain mkldnn graph output node name: \"" << name << "\"";
}

const Blob::Ptr &ext_blob = out.at(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ InferenceEngine::Blob::Ptr MKLDNNPlugin::MKLDNNInferRequest::GetBlob(const std::
if (_outputs.find(name) == _outputs.end()) {
if (!data) {
InferenceEngine::TensorDesc desc = _networkOutputs[name]->getTensorDesc();
desc.setPrecision(normalizeToSupportedPrecision(desc.getPrecision()));
desc.setPrecision(normalizeToSupportedPrecision(desc.getPrecision()));

// WA: need to avoid exception thrown when we compare blocking desc in SetBlob
// in situation if we push output blobs as inputs for next network (in Hetero plugin)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class ParameterResultCustomBlobTest : public ParameterResultSubgraphTest {
auto inputBlob = inputs.front();
const size_t elementsCount = inputBlob->size();
for (size_t i = 0; i < inferIterations; ++i) {
CommonTestUtils::fill_data_random<Precision::FP32>(inputBlob, 10, 0, 1, i);
const auto& inputsInfo = cnnNetwork.getInputsInfo().begin()->second;
std::string inputName = cnnNetwork.getInputsInfo().begin()->first;

Expand Down

0 comments on commit f6c7687

Please sign in to comment.