Skip to content

Commit

Permalink
[luci] Quantize BroadcastTo Op activation
Browse files Browse the repository at this point in the history
This quantizes activation for BroadcastTo.

ONE-DCO-1.0-Signed-off-by: Hyukjin Jeong <[email protected]>
  • Loading branch information
jinevening committed Dec 16, 2024
1 parent b5a9598 commit c4da132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions compiler/luci/pass/src/QuantizeActivation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ void QuantizeConstInputActivation::visit(luci::CircleNode *node)
QUANTIZE_SINGLE_CONST_INPUT(luci::CircleAbs, x)
QUANTIZE_SINGLE_CONST_INPUT(luci::CircleArgMax, input)
QUANTIZE_SINGLE_CONST_INPUT(luci::CircleArgMin, input)
QUANTIZE_SINGLE_CONST_INPUT(luci::CircleBroadcastTo, input)
QUANTIZE_SINGLE_CONST_INPUT(luci::CircleBatchToSpaceND, input)
QUANTIZE_SINGLE_CONST_INPUT(luci::CircleDepthToSpace, input)
QUANTIZE_SINGLE_CONST_INPUT(luci::CircleElu, features)
Expand Down
1 change: 1 addition & 0 deletions compiler/luci/pass/src/QuantizeActivation.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ struct QuantizeConstInputActivation final : public luci::CircleNodeMutableVisito
void visit(luci::CircleAbs *node);
void visit(luci::CircleArgMax *node);
void visit(luci::CircleArgMin *node);
void visit(luci::CircleBroadcastTo *node);
void visit(luci::CircleBatchToSpaceND *node);
void visit(luci::CircleDepthToSpace *node);
void visit(luci::CircleElu *node);
Expand Down

0 comments on commit c4da132

Please sign in to comment.