Fix tanh example.