Improve softmax: type checks, stability, axis support, tests, docs #14579
Annotations
10 errors
|
Ruff (W293):
maths/softmax.py#L67
maths/softmax.py:67:1: W293 Blank line contains whitespace
|
|
Ruff (W293):
maths/softmax.py#L63
maths/softmax.py:63:1: W293 Blank line contains whitespace
|
|
Ruff (W293):
maths/softmax.py#L59
maths/softmax.py:59:1: W293 Blank line contains whitespace
|
|
Ruff (W293):
maths/softmax.py#L55
maths/softmax.py:55:1: W293 Blank line contains whitespace
|
|
Ruff (EM102):
maths/softmax.py#L34
maths/softmax.py:34:26: EM102 Exception must not use an f-string literal, assign to variable first
|
|
Ruff (BLE001):
maths/softmax.py#L33
maths/softmax.py:33:12: BLE001 Do not catch blind exception: `Exception`
|
|
Ruff (E501):
maths/softmax.py#L23
maths/softmax.py:23:89: E501 Line too long (89 > 88)
|
|
Ruff (UP045):
maths/softmax.py#L7
maths/softmax.py:7:11: UP045 Use `X | None` for type annotations
|
|
Ruff (UP007):
maths/softmax.py#L6
maths/softmax.py:6:13: UP007 Use `X | Y` for type annotations
|
|
Ruff (I001):
maths/softmax.py#L1
maths/softmax.py:1:1: I001 Import block is un-sorted or un-formatted
|