-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[one-cmds] Add an option for FuseMulWithFullyConnectedPass #13609
[one-cmds] Add an option for FuseMulWithFullyConnectedPass #13609
Conversation
This commit adds one-cmd option for FuseMulWithFullyConnectedPass. ONE-DCO-1.0-Signed-off-by: Jan Iwaszkiewicz <j.iwaszkiewi@samsung.com>
@@ -171,6 +171,7 @@ Current transformation options are | |||
- fuse_batchnorm_with_conv : This fuses BatchNorm operator to convolution operator | |||
- fuse_batchnorm_with_dwconv : This fuses BatchNorm operator to depthwise convolution operator | |||
- fuse_batchnorm_with_tconv : This fuses BatchNorm operator to transpose convolution operator | |||
- fuse_mul_with_fullyconnected: This fuses Mul operator with the preceding FullyConnected operator if possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz fix order
compiler/one-cmds/onelib/constant.py
Outdated
@@ -44,6 +44,7 @@ class CONSTANT: | |||
'fuse_batchnorm_with_dwconv', | |||
'fuse_batchnorm_with_tconv', | |||
'fuse_activation_function', | |||
'fuse_mul_with_fullyconnected', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plz fix order
compiler/one-cmds/onelib/constant.py
Outdated
@@ -122,6 +123,7 @@ class CONSTANT: | |||
('fuse_batchnorm_with_conv', 'fuse BatchNorm op to Convolution op'), | |||
('fuse_batchnorm_with_dwconv', 'fuse BatchNorm op to Depthwise Convolution op'), | |||
('fuse_batchnorm_with_tconv', 'fuse BatchNorm op to Transposed Convolution op'), | |||
('fuse_mul_with_fullyconnected', 'fuse Mul op to FullyConnected op'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
will check/land after all dependent PRs has landed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit adds one-cmd option for FuseMulWithFullyConnectedPass.
ONE-DCO-1.0-Signed-off-by: Jan Iwaszkiewicz j.iwaszkiewi@samsung.com