From 7b91bd9102e5894c57ac2a74e7b79f0fb809f6fa Mon Sep 17 00:00:00 2001 From: aaarrti Date: Sun, 28 Apr 2024 14:11:11 +0200 Subject: [PATCH] :construction: --- quantus/helpers/model/pytorch_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantus/helpers/model/pytorch_model.py b/quantus/helpers/model/pytorch_model.py index 6031f619..429d25da 100644 --- a/quantus/helpers/model/pytorch_model.py +++ b/quantus/helpers/model/pytorch_model.py @@ -518,7 +518,7 @@ def safe_isinstance(obj: Any, class_path_str: Iterable[str] | str) -> bool: bool: True if isinstance is true and the package exists, False otherwise """ - # Take from https://github.com/shap/shap/blob/dffc346f323ff8cf55f39f71c613ebd00e1c88f8/shap/utils/_general.py#L197 + # Taken from https://github.com/shap/shap/blob/dffc346f323ff8cf55f39f71c613ebd00e1c88f8/shap/utils/_general.py#L197 if isinstance(class_path_str, str): class_path_str = [class_path_str]