From 6441cdf1bcbd26766f5fa7d44925a1756b489ea9 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 21 Jun 2024 10:43:31 +0800 Subject: [PATCH] fix ad overflow --- .../troubleshooter/migrator/api_dump/ad_dump/hooks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py b/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py index 426aa81..050321b 100644 --- a/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py +++ b/troubleshooter/troubleshooter/migrator/api_dump/ad_dump/hooks.py @@ -28,11 +28,10 @@ def acc_cmp_dump(name, **kwargs): pid = kwargs.get('pid') DumpUtil.dump_config = kwargs.get('dump_config') name_template = name - overflow_flag = kwargs.get('overflow') if not pid: return RuntimeError("Not get the specified process pid.") - def acc_cmp_hook(cell, in_feat, out_feat, overflow_flag): + def acc_cmp_hook(cell, in_feat, out_feat): nonlocal name, name_template global NNCount if "{}_" in name_template: -- Gitee