Skip to content

Resolved log(0) error in KL divergence Issue#12233 #12460

Resolved log(0) error in KL divergence Issue#12233

Resolved log(0) error in KL divergence Issue#12233 #12460

Triggered via pull request February 4, 2025 01:44
@ansciananscian
opened #12556
kl
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Ruff (E501): machine_learning/loss_functions.py#L662
machine_learning/loss_functions.py:662:89: E501 Line too long (114 > 88)
Ruff (E712): machine_learning/loss_functions.py#L663
machine_learning/loss_functions.py:663:26: E712 Avoid equality comparisons to `False`; use `if not np.any(kl_loss == 0, axis=0):` for false checks
Ruff (E501): machine_learning/loss_functions.py#L663
machine_learning/loss_functions.py:663:89: E501 Line too long (122 > 88)
ruff
Process completed with exit code 1.