Using a \( tanh \) activation function