提交 4fbb2c58 编写于 作者: S SunAhong1993

add setattr

上级 92b5f12b
...@@ -19,8 +19,10 @@ from x2paddle.optimizer.pass_manager import PassManager ...@@ -19,8 +19,10 @@ from x2paddle.optimizer.pass_manager import PassManager
class GraphOptimizer(object): class GraphOptimizer(object):
def __init__(self): def __init__(self):
self.passes = [ self.passes = [
"fc_fuse_pass", "nn_adaptive_pool2d_fuse_pass", "fc_fuse_pass",
"functional_adaptive_pool2d_fuse_pass", "batchnorm2d_fuse_pass", # "nn_adaptive_pool2d_fuse_pass",
# "functional_adaptive_pool2d_fuse_pass",
# "batchnorm2d_fuse_pass",
"constant_fuse_pass" "constant_fuse_pass"
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册