gfdl.activations.log_softmax#

log_softmax(z)[source]#

The log softmax activation function.

Parameters:
zarray_like

Input array.

Returns:
numpy.ndarray

The output array with the function values.

See also

scipy.special.log_softmax

The logarithm of softmax function.