提交 242a4be0 编写于 作者: Z Zhang, Guoming

Disable conv/sum fusion

上级 606dfb13
...@@ -661,7 +661,10 @@ class Operator(object): ...@@ -661,7 +661,10 @@ class Operator(object):
def has_kernel(self, op_type): def has_kernel(self, op_type):
return op_type not in self.OP_WITHOUT_KERNEL_SET return op_type not in self.OP_WITHOUT_KERNEL_SET
def set_input(self, name, value):
self.desc.set_input(name, value)
def to_string(self, throw_on_error): def to_string(self, throw_on_error):
""" """
Get debug string. Get debug string.
......
...@@ -65,7 +65,7 @@ class InferenceTranspiler(object): ...@@ -65,7 +65,7 @@ class InferenceTranspiler(object):
if use_mkldnn: if use_mkldnn:
self._fuse_conv_bias_mkldnn(program) self._fuse_conv_bias_mkldnn(program)
self._fuse_conv_relu_mkldnn(program) self._fuse_conv_relu_mkldnn(program)
self._fuse_conv_eltwise_mkldnn(program) #self._fuse_conv_eltwise_mkldnn(program)
self._fuse_conv_relu_mkldnn( self._fuse_conv_relu_mkldnn(
program) # ResNet residual block merging program) # ResNet residual block merging
self._fuse_bn_relu_mkldnn(program) self._fuse_bn_relu_mkldnn(program)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册