Skip to content

Commit

Permalink
[FIX] CPU tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrKrzem committed Nov 28, 2024
1 parent 3ffb8f7 commit 30bc8c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#pragma once

#include "openvino/op/identity.hpp"
#include "utils.hpp"

namespace ov {
namespace op {
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/intel_cpu/src/nodes/identity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ std::string Identity::getPrimitiveDescriptorType() const {
std::string str_type;
if (type == impl_desc_type::unknown)
str_type = "unknown";
else if (str_type.empty())
str_type = "undef";
else
else if (type == impl_desc_type::ref_any)
str_type = "ref_any";
else
str_type = "undef";

if (selectedPrimitiveDesc) {
if (selectedPrimitiveDesc->getConfig().outConfs[0].getMemDesc()->getPrecision() != ov::element::u8) {
Expand Down

0 comments on commit 30bc8c7

Please sign in to comment.