The input tensor.
Optional
axis: number | number[]The dimension(s) to reduce. If null (the default), reduces all dimensions.
Optional
keepDims: booleanIf true, retains reduced dimensions with length of 1. Defaults to false.
Generated using TypeDoc
Computes the log(sum(exp(elements across the reduction dimensions))).
Reduces the input along the dimensions given in
axis
. UnlesskeepDims
is true, the rank of the array is reduced by 1 for each entry inaxis
. IfkeepDims
is true, the reduced dimensions are retained with length 1. Ifaxis
has no entries, all dimensions are reduced, and an array with a single element is returned.