Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
mauicv committed Jul 26, 2023
1 parent 2d05b32 commit a3519f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alibi_detect/saving/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def validate_device(cls, device: Any, values: dict) -> Any:
backend = values['backend']
if backend == Framework.TENSORFLOW or backend == Framework.SKLEARN:
if device is not None:
raise TypeError('`device` should not be specified for TensorFlow or Sklearn models. Leave as `None`.')
raise TypeError('`device` should not be specified for TensorFlow or Sklearn backends. Leave as `None`.')
else:
return device
elif backend == Framework.PYTORCH or backend == Framework.KEOPS:
Expand Down

0 comments on commit a3519f3

Please sign in to comment.