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

Commit

Permalink
Fix get_index_element_type to return the correct type for IndexReduct…
Browse files Browse the repository at this point in the history
…ion OP (#1709)
  • Loading branch information
yimeisun123 authored Sep 27, 2018
1 parent ea40bc4 commit dadb122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ngraph/op/util/index_reduction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ op::util::IndexReduction::IndexReduction(const std::string& node_type,
const element::Type& index_element_type)
: Op(node_type, check_single_output_args({arg}))
, m_axis(axis)
, m_index_element_type(index_element_type)
{
constructor_validate_and_infer_types();
auto rank = arg->get_shape().size();
Expand Down

0 comments on commit dadb122

Please sign in to comment.