Skip to content

Commit f523520

Browse files
committed
[one_hot]: Fixed tests.
1 parent 84f6b64 commit f523520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/intel_cpu/src/nodes/one_hot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ OneHot::OneHot(const std::shared_ptr<ov::Node>& op, const GraphContext::CPtr& co
6464
OPENVINO_THROW_NOT_IMPLEMENTED(errorMessage);
6565
}
6666

67-
const auto oneHot = ov::as_type_ptr<const ov::op::v1::OneHot>(op);
67+
const auto oneHot = ov::as_type_ptr<const ov::op::util::OneHotBase>(op);
6868
const auto depthNode = ov::as_type_ptr<const ov::op::v0::Constant>(oneHot->get_input_node_shared_ptr(DEPTH_ID));
6969
if (depthNode) {
7070
depth = depthNode->cast_vector<uint32_t>()[0];

0 commit comments

Comments
 (0)