Method ReduceLogSumExp
ReduceLogSumExp(TensorFloat, TensorFloat, ReadOnlySpan<int>, bool)
Reduces an input tensor along the given axes using the ReduceLogSumExp operation: f(x1, x2 ... xn) = log(e^x1 + e^x2 + ... + e^xn).
Declaration
void ReduceLogSumExp(TensorFloat X, TensorFloat O, ReadOnlySpan<int> axes, bool keepdim)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorFloat | X | The input tensor. |
| TensorFloat | O | The output tensor to be computed and filled. |
| ReadOnlySpan<int> | axes | The axes along which to reduce. |
| bool | keepdim | Whether to keep the reduced axes in the output tensor. |