What's the meaning of fuse_opt_level

what’s the meaning of fuse_opt_level in FuseOps pass @zhiics

for fuse_opt_level=0, you will run through this pass but not ops will be fused together. For opt levels that are greater than 0, you will see that multiple ops could be fused together.

Thank you very much, but what’s the different betweent fuse_opt_level=1 and fuse_opt_level=2 ? what’s the meaning of different values(>0) of fuse_opt_level? @zhiics

Anyone can help me? :joy:

There is no such an option. It is binary, fusion is disabled when fuse_op_level = 0, otherwise it will be enabled when it is greater than 0.

Thank you very much :grinning: