re-style: 格式化代码
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from typing import List, Any, Tuple
|
||||
from typing import Any
|
||||
|
||||
|
||||
def dyn_select_top_k(
|
||||
score: List[Tuple[Any, float]], jmp_factor: float, var_factor: float
|
||||
) -> List[Tuple[Any, float, float]]:
|
||||
score: list[tuple[Any, float]], jmp_factor: float, var_factor: float
|
||||
) -> list[tuple[Any, float, float]]:
|
||||
"""动态TopK选择"""
|
||||
# 检查输入列表是否为空
|
||||
if not score:
|
||||
|
||||
Reference in New Issue
Block a user