mindspore.ops.LogSoftmax
- class mindspore.ops.LogSoftmax(axis=- 1)[source]
prim = ops.LogSoftmax(axis) out = prim(logits)
is equivalent to
ops.log_softmax(logits, axis)
Refer to
mindspore.ops.log_softmax()
for more details.
prim = ops.LogSoftmax(axis)
out = prim(logits)
is equivalent to
ops.log_softmax(logits, axis)
Refer to mindspore.ops.log_softmax()
for more details.