diff --git a/x2paddle/optimizer/optimizer.py b/x2paddle/optimizer/optimizer.py index 4e6b42a314455374467217996f7c2690ab78efb3..e40a76ee66d65caab0279e34a396d35b9f723f7c 100644 --- a/x2paddle/optimizer/optimizer.py +++ b/x2paddle/optimizer/optimizer.py @@ -19,8 +19,10 @@ from x2paddle.optimizer.pass_manager import PassManager class GraphOptimizer(object): def __init__(self): self.passes = [ - "fc_fuse_pass", "nn_adaptive_pool2d_fuse_pass", - "functional_adaptive_pool2d_fuse_pass", "batchnorm2d_fuse_pass", + "fc_fuse_pass", + # "nn_adaptive_pool2d_fuse_pass", + # "functional_adaptive_pool2d_fuse_pass", + # "batchnorm2d_fuse_pass", "constant_fuse_pass" ]