We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f6b64 commit f523520Copy full SHA for f523520
src/plugins/intel_cpu/src/nodes/one_hot.cpp
@@ -64,7 +64,7 @@ OneHot::OneHot(const std::shared_ptr<ov::Node>& op, const GraphContext::CPtr& co
64
OPENVINO_THROW_NOT_IMPLEMENTED(errorMessage);
65
}
66
67
- const auto oneHot = ov::as_type_ptr<const ov::op::v1::OneHot>(op);
+ const auto oneHot = ov::as_type_ptr<const ov::op::util::OneHotBase>(op);
68
const auto depthNode = ov::as_type_ptr<const ov::op::v0::Constant>(oneHot->get_input_node_shared_ptr(DEPTH_ID));
69
if (depthNode) {
70
depth = depthNode->cast_vector<uint32_t>()[0];
0 commit comments