Coding the Tanh Activation Function in PyTorch: Step-by-Step Guide - MRELAN