@@ -43,7 +43,7 @@ class TestConv2dAddActFusePattern(PassTest):
4343 def is_program_valid (self , program ):
4444 return True
4545
46- def build_ir_progam (self ):
46+ def build_ir_program (self ):
4747 with paddle .pir_utils .IrGuard ():
4848 main_prog = paddle .static .Program ()
4949 start_prog = paddle .static .Program ()
@@ -86,7 +86,7 @@ def setUp(self):
8686 self .skip_accuracy_verification = True
8787
8888 def sample_program (self ):
89- yield self .build_ir_progam (), False
89+ yield self .build_ir_program (), False
9090
9191 def test_check_output (self ):
9292 self .check_pass_correct ()
@@ -114,7 +114,7 @@ class TestConv2dAdd2ActFusePattern(PassTest):
114114 def is_program_valid (self , program ):
115115 return True
116116
117- def build_ir_progam (self ):
117+ def build_ir_program (self ):
118118 with paddle .pir_utils .IrGuard ():
119119 main_prog = paddle .static .Program ()
120120 start_prog = paddle .static .Program ()
@@ -165,7 +165,7 @@ def setUp(self):
165165 self .skip_accuracy_verification = True
166166
167167 def sample_program (self ):
168- yield self .build_ir_progam (), False
168+ yield self .build_ir_program (), False
169169
170170 def test_check_output (self ):
171171 self .check_pass_correct ()
0 commit comments