Skip to content

Enhance softmax with numerical stability and axis parameter #15146

Enhance softmax with numerical stability and axis parameter

Enhance softmax with numerical stability and axis parameter #15146

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
ruff
Process completed with exit code 1.
Ruff (EM102): maths/softmax.py#L52
maths/softmax.py:52:13: 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.