Skip to content

Commit

Permalink
[one-cmds] Add fuse_rsqrt optimization option (Samsung#13004)
Browse files Browse the repository at this point in the history
This adds fuse_rsqrt optimization option.

ONE-DCO-1.0-Signed-off-by: Hyukjin Jeong <[email protected]>
  • Loading branch information
jinevening authored May 16, 2024
1 parent 6e99b04 commit a8f90f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/one-cmds/onelib/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class CONSTANT:
'fuse_instnorm',
'fuse_prelu',
'fuse_gelu',
'fuse_rsqrt',
'fuse_mean_with_mean',
'fuse_mul_with_conv',
'fuse_mul_with_div',
Expand Down Expand Up @@ -131,6 +132,7 @@ class CONSTANT:
('fuse_instnorm', 'fuse ops to InstanceNorm operator'),
('fuse_prelu', 'fuse ops to PReLU operator'),
('fuse_gelu', 'fuse ops to GeLU operator'),
('fuse_rsqrt', 'fuse ops to Rsqrt operator'),
('replace_cw_mul_add_with_depthwise_conv',
'replace channel-wise Mul/Add with DepthwiseConv2D'),
('remove_fakequant', 'remove FakeQuant ops'),
Expand Down

0 comments on commit a8f90f3

Please sign in to comment.