Skip to content

Commit

Permalink
cast
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-cv committed Aug 26, 2024
1 parent 59b6559 commit e83c02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ const ov::element::Type& ov::Node::get_input_element_type(size_t i) const {

const ov::Shape& ov::Node::get_input_shape(size_t i) const {
OPENVINO_ASSERT(i < m_inputs.size(), idx_txt, i, out_of_range_txt);
return m_inputs[i].get_shape();
return static_cast<const ov::Shape&>(m_inputs[i].get_shape());
}

const ov::PartialShape& ov::Node::get_input_partial_shape(size_t i) const {
Expand Down

0 comments on commit e83c02e

Please sign in to comment.