Closed camel007 closed 4 years ago
conv + bn will convert to fuse -> new_conv->bias->add, so the new graph will be fuse->new_conv->bias->add->relu, then we want to merge conv + relu to conv, But there is no edge from conv to relu.
conv + bn
fuse -> new_conv->bias->add
fuse->new_conv->bias->add->relu
conv + relu
conv
conv + bn
will convert tofuse -> new_conv->bias->add
, so the new graph will befuse->new_conv->bias->add->relu
, then we want to mergeconv + relu
toconv
, But there is no edge from conv to relu.