Documentation
    Preparing search index...

    Variable softmaxConst

    softmax: (weights: number[]) => number[]

    Softmax function https://en.wikipedia.org/wiki/Softmax_function When the weights are empty, it returns an empty array.

    Type declaration

      • (weights: number[]): number[]
      • Parameters

        • weights: number[]

        Returns number[]