Skip to content

Commit

Permalink
Fix order of cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
jiwaszki committed Aug 7, 2024
1 parent b717234 commit 51dd43c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/one-cmds/how-to-use-one-commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ 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
- fuse_mul_to_fullyconnected_weights : This fuses Mul operator to following FullyConnected operator weights
- fuse_mul_with_conv: This fuses Mul with a preceding Convolution op if possible.
- fuse_mul_with_div: This fuses Mul and Div op as Div.
- fuse_mul_with_fullyconnected: This fuses Mul operator with the preceding FullyConnected operator if possible.
- fuse_slice_with_tconv: This fuses Slice with a preceding TConv if possible.
- fuse_bcq: This enables Binary-Coded-bases Quantized DNNs
- read https://arxiv.org/abs/2005.09904 for detailed information
Expand Down
4 changes: 2 additions & 2 deletions compiler/one-cmds/onelib/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class CONSTANT:
'fuse_batchnorm_with_dwconv',
'fuse_batchnorm_with_tconv',
'fuse_activation_function',
'fuse_mul_with_fullyconnected',
'fuse_mul_to_fullyconnected_weights',
'fuse_instnorm',
'fuse_prelu',
Expand All @@ -53,6 +52,7 @@ class CONSTANT:
'fuse_mean_with_mean',
'fuse_mul_with_conv',
'fuse_mul_with_div',
'fuse_mul_with_fullyconnected',
'fuse_transpose_with_mean',
'fuse_slice_with_tconv',
'fuse_horizontal_fc_layers',
Expand Down Expand Up @@ -123,7 +123,6 @@ 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'),
('fuse_mul_to_fullyconnected_weights',
'fuse Mul op to following FullyConnected op weights'),
('fuse_slice_with_tconv', 'fuse Slice op to Transposed Convolution op'),
Expand All @@ -133,6 +132,7 @@ class CONSTANT:
('fuse_mean_with_mean', 'fuse two consecutive Mean ops'),
('fuse_mul_with_conv', 'fuse Mul op to Convolution op'),
('fuse_mul_with_div', 'fuse Mul with Div as Div'),
('fuse_mul_with_fullyconnected', 'fuse Mul op to FullyConnected op'),
('fuse_transpose_with_mean',
'fuse Mean with a preceding Transpose under certain conditions'),
('fuse_horizontal_fc_layers',
Expand Down

0 comments on commit 51dd43c

Please sign in to comment.