Practice free →
HomeClaudeaifoundationsmlp_and_activations › The tanh function squashes its input to which in…

The tanh function squashes its input to which interval?

AThe interval (-1, 1)
BThe interval (-∞, ∞)
CThe interval [0, ∞)
DThe interval (0, 1)
Answer & Solution
Correct answer: A. The interval (-1, 1)
tanh(x) = (1 - exp(-2x)) / (1 + exp(-2x)) maps ℝ into (-1, 1). It is point-symmetric about the origin, unlike sigmoid which is centred at 0.5.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions