openfl.utilities.checks.check_equal
- openfl.utilities.checks.check_equal(x, y, logger)
Assert x and y are equal.
- Parameters:
x (Any) – The first value to compare.
y (Any) – The second value to compare.
logger (Logger) – The logger to use for reporting the error.
- Raises:
ValueError – If the values are not equal.