Resolved log(0) error in KL divergence Issue#12233 #12462
Annotations
2 errors
Ruff (E712):
machine_learning/loss_functions.py#L666
machine_learning/loss_functions.py:666:12: E712 Avoid equality comparisons to `False`; use `if not np.any(kl_loss == 0, axis=0):` for false checks
|
ruff
Process completed with exit code 1.
|