Skip to content

Commit

Permalink
[luci/export] Add keep_num_dims to CircleFullyConnected (Samsung#8451)
Browse files Browse the repository at this point in the history
This commit adds `keep_num_dims` to `CircleFullyConnected`.

ONE-DCO-1.0-Signed-off-by: Seok NamKoong <[email protected]>
  • Loading branch information
llFreetimell authored Feb 18, 2022
1 parent 8f55147 commit 65bbd1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/luci/export/src/CircleBuiltinTypesExtractor.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ class BuiltinOptionsExtractor final
}
flatbuffers::Offset<void> visit(luci::CircleFullyConnected *node)
{
return circle::CreateFullyConnectedOptions(_builder,
to_circle_actfunc(node->fusedActivationFunction()),
to_circle_weightsformat(node->weights_format()))
return circle::CreateFullyConnectedOptions(
_builder, to_circle_actfunc(node->fusedActivationFunction()),
to_circle_weightsformat(node->weights_format()), node->keep_num_dims())
.Union();
}
flatbuffers::Offset<void> visit(luci::CircleGather *node)
Expand Down

0 comments on commit 65bbd1c

Please sign in to comment.