Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
aaarrti committed Apr 28, 2024
1 parent 2b982f7 commit 7b91bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantus/helpers/model/pytorch_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7b91bd9

Please sign in to comment.