Skip to content

Enhance softmax with numerical stability and axis parameter #15145

Enhance softmax with numerical stability and axis parameter

Enhance softmax with numerical stability and axis parameter #15145

Triggered via pull request October 10, 2025 06:03
Status Failure
Total duration 9s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
ruff
Process completed with exit code 1.
Ruff (E501): maths/softmax.py#L51
maths/softmax.py:51:89: E501 Line too long (96 > 88)
Ruff (EM102): maths/softmax.py#L51
maths/softmax.py:51:28: EM102 Exception must not use an f-string literal, assign to variable first
Ruff (NPY201): maths/softmax.py#L51
maths/softmax.py:51:15: NPY201 `np.AxisError` will be removed in NumPy 2.0. Use `numpy.exceptions.AxisError` instead.