TorchLean API

NN.Proofs.RuntimeApprox.NF.Ops.Elementwise.Softmax

NF Elementwise Bounds: Scalar Logistic Node #

Scalar forward bound for the scalar logistic-form NF softmax node.

Here the node computes the scalar logistic-like function exp(x) / (exp(x) + 1), implemented using exp, +, and division (denominator is ≥ 1). We keep the public node name stable for the NF graph, but the mathematical function is Activation.Math.logisticSpec, not axis softmax.

Instances For

    Per-entry bound tensor for the scalar logistic NF node.

    Instances For

      approxT bound for the scalar logistic NF node lifted to arbitrary tensor shapes.

      This is the tensor-level wrapper around the scalar exp/+/div bound, using the usual linf_norm lifting for dimensioned tensors.