Reduction

Reduction#

einx.sum

Compute the sum of values in the given tensor.

einx.mean

Compute the mean of values in the given tensor.

einx.var

Compute the variance of values in the given tensor.

einx.std

Compute the standard deviation of values in the given tensor.

einx.prod

Compute the product of values in the given tensor.

einx.count_nonzero

Counts non-zero values in the given tensor.

einx.any

Compute the logical disjunction (OR) of values in the given tensor.

einx.all

Compute the logical conjunction (AND) of values in the given tensor.

einx.max

Compute the maximum of values in the given tensor.

einx.min

Compute the minimum of values in the given tensor.

einx.logsumexp

Compute the log-sum-exp of values in the given tensor.