Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit dadb122

Browse files
authored
Fix get_index_element_type to return the correct type for IndexReduction OP (#1709)
1 parent ea40bc4 commit dadb122

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ngraph/op/util/index_reduction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ op::util::IndexReduction::IndexReduction(const std::string& node_type,
2727
const element::Type& index_element_type)
2828
: Op(node_type, check_single_output_args({arg}))
2929
, m_axis(axis)
30+
, m_index_element_type(index_element_type)
3031
{
3132
constructor_validate_and_infer_types();
3233
auto rank = arg->get_shape().size();

0 commit comments

Comments
 (0)