The Softsign Activation Function

Neural Units & Activations DS practice problem on Onlearn.

Difficulty: easy.

Topics: Understanding Implement the Softsign Activation Function, Softsign Formula, Vanishing Gradient Mitigation, Output Range Bounding, Differentiability, Element-wise Mapping, Deep Learning Foundations, Mathematical Analysis, Numerical Computing, Neural Network Architecture, Computational Optimization, Activation Functions, Function Approximation, Vectorized Operations, Gradient-Based Learning, Non-linear Transformations.

Implement the Softsign activation function, a smooth activation function used in neural networks. Your task is to compute the Softsign value for a given input, ensuring the output is bounded between 1 and 1.