The TAF function uses linear regression to learn the activation function of each neuron, so that different neurons can have different activation functions.

a and b are learnable parameters. The formula below is one of the five forms used in the original paper.

TAF(x)=(x−a)2+b2\text{TAF}(x) = \sqrt{(x - a)^2 + b^2}

The output range is

∣b∣≦TAF(x)<∞|b| ≦ \text{TAF}(x) < ∞