Enhance softmax with numerical stability and axis parameter #15145
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.
|