klyn.math.nn.activations.Softmax.build
method
public build(inputSize as Long) as Long
Description

Checks and preserves a positive feature width.

Parameters
ParameterDescription
inputSizeNumber of classes.
Returns

inputSize.

Throws
  • ValueException for a non-positive width.
Example

activation.build(10)