提交 ed15a8f1 编写于 作者: W wjj19950828

rename func

上级 00df570e
......@@ -62,7 +62,7 @@ class OPConvertAutoScanTest(unittest.TestCase):
self.num_ran_tests = 0
self.num_ignore_tests = 0
def add_ignore_pass_case(self, configs):
def add_ignore_test_case(self, configs):
return
def run_and_statis(self,
......@@ -87,8 +87,6 @@ class OPConvertAutoScanTest(unittest.TestCase):
report_multiple_bugs=False, )
settings.load_profile("ci")
# self.add_ignore_pass_case(configs)
def sample_convert_generator(draw):
return self.sample_convert_config(draw)
......@@ -159,7 +157,7 @@ class OPConvertAutoScanTest(unittest.TestCase):
self.num_ran_tests += 1
# add ignore testcases
if self.add_ignore_pass_case(configs):
if self.add_ignore_test_case(configs):
self.num_ignore_tests += 1
return
......
......@@ -28,7 +28,7 @@ class TestConv2dConvert(OPConvertAutoScanTest):
OPset version: 7~15
"""
def add_ignore_pass_case(self, configs):
def add_ignore_test_case(self, configs):
config, attrs = configs
# Warning: SAME_UPPER and SAME_LOWER does not yet support dynamic shapes
if "SAME" in attrs["auto_pad"] and -1 in config["inputs_shape"][0]:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册