klyn.math.nn.activations.Softmax.buildShape
method
public override buildShape(inputShape as IList<Long>) as IList<Long>
Description

Validates a vector of class scores.

Parameters
ParameterDescription
inputShapeSample shape excluding the batch axis.
Returns

Unchanged shape.

Throws
  • ValueException unless a single positive axis is supplied.
Example

activation.buildShape([10l])