Skip to content

Commit

Permalink
Fix ComplexType Output for AddBias
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu-S committed Mar 10, 2024
1 parent 6027732 commit c778406
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/frontends/tensorflow_common/src/op/bias_add.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ OutputVector translate_bias_add_op(const NodeContext& node) {

auto res = make_shared<v1::Add>(value, bias_reshaped);
set_node_name(node.get_name(), res);

if (complex_type_inputs) {
auto complex_reshape = make_shared<ComplexTypeMark>(res, complex_type_mark_value->get_complex_part_type());
return {complex_reshape->output(0)};
}
return res->outputs();
}
} // namespace op
Expand Down

0 comments on commit c778406

Please sign in to comment.