Commit 0c0b5105 authored by GlebKazantaev's avatar GlebKazantaev Committed by Scott Cyphers

Fixed Proposal output type infer (#3538)

parent b18cb73d
...@@ -76,11 +76,11 @@ void op::Proposal::validate_and_infer_types() ...@@ -76,11 +76,11 @@ void op::Proposal::validate_and_infer_types()
")."); ").");
auto batch_size = class_probs_shape[0]; auto batch_size = class_probs_shape[0];
set_output_type(0, element::f32, Shape{batch_size * m_attrs.post_nms_topn, 5}); set_output_type(0, get_input_element_type(0), Shape{batch_size * m_attrs.post_nms_topn, 5});
} }
else else
{ {
set_output_type(0, element::f32, PartialShape::dynamic()); set_output_type(0, get_input_element_type(0), PartialShape::dynamic());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment