Skip to contents

Compute the numerically-stable softmax of a vector.

Usage

stable_softmax(x)

Arguments

x

A vector.

Value

The softmax of `x`