inputs (array) – The predicted distribution in log space.
targets (array) – The target values.
axis (int, optional) – The distribution axis. Default: -1
.
reduction (str, optional) – Specifies the reduction to apply to the output:
'none'
| 'mean'
| 'sum'
. Default: 'none'
.