Skip to content

Commit

Permalink
Merge pull request #38 from OxfordRSE/update_typing
Browse files Browse the repository at this point in the history
Update typing for anomaly_detection.
  • Loading branch information
mihaeladuta authored Jan 9, 2025
2 parents 355842b + e3aaef9 commit 90f5dfa
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 90f5dfa

Please sign in to comment.