From 4fbb2c5824d98da63365ddff897762e7a26bf4cf Mon Sep 17 00:00:00 2001 From: SunAhong1993 Date: Tue, 25 Aug 2020 18:20:55 +0800 Subject: [PATCH] add setattr --- x2paddle/optimizer/optimizer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x2paddle/optimizer/optimizer.py b/x2paddle/optimizer/optimizer.py index 4e6b42a..e40a76e 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" ] -- GitLab