Class Softmax

java.lang.Object
io.github.kirstenali.deepj.activations.Softmax
All Implemented Interfaces:
ActivationFunction

public final class Softmax extends Object implements ActivationFunction
Row-wise softmax for 2D tensors: applies softmax independently to each row. Forward: softmaxRows(logits) Backward: given upstream grad dY, returns dLogits using cached softmax output.