From e3aaef9b997b9cb5e0718e328aa65c6fb996d15d Mon Sep 17 00:00:00 2001 From: Mihaela Duta Date: Thu, 5 Dec 2024 10:55:38 +0000 Subject: [PATCH] Update typing for anomaly_detection. --- l2gv2/anomaly_detection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/l2gv2/anomaly_detection.py b/l2gv2/anomaly_detection.py index ef37111..779cd27 100644 --- a/l2gv2/anomaly_detection.py +++ b/l2gv2/anomaly_detection.py @@ -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: