The logsumexp function#

Aliases#

halerium.core.logsumexp
halerium.core.math.logsumexp
logsumexp(operand, axis=- 1, keepdims=False)#

logsumexp of elements along specified axis.

Parameters:
  • operand – The operand to apply logsumexp.

  • axis (None, int) – The axis along which to apply logsumexp.

  • keepdims (bool) – Whether to keep the reduced axis with dimensions size one.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.Logsumexp