Skip to content

Commit

Permalink
Update typing for anomaly_detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaeladuta committed Dec 5, 2024
1 parent b4110da commit e3aaef9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion l2gv2/anomaly_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
from .patch.patch import Patch


def raw_anomaly_score_node_patch(aligned_patch_emb, emb, node) -> np.floating[Any]:
def raw_anomaly_score_node_patch(
aligned_patch_emb: Patch, emb: list[Patch], node: int
) -> np.floating[Any]:
"""TODO: docstring for `raw_anomaly_score_node_patch`
Args:
Expand Down

0 comments on commit e3aaef9

Please sign in to comment.