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