openfl.utilities.checks.check_not_in#
- openfl.utilities.checks.check_not_in(element, _list, logger)[source]#
Assert element is not in _list collection.
- Parameters:
element (Any) – The element to check.
_list (Iterable) – The collection to check in.
logger (Logger) – The logger to use for reporting the error.
- Raises:
ValueError – If the element is in the collection.