This is a computer translation of the original content. It is provided for general information only and should not be relied upon as complete or accurate.
Hyperbolic Tangent Forward Layer
The forward hyperbolic tangent layer computes the function
for the input argument x.
Given a p-dimensional tensor X of size n 1 x n 2 x ... x n p , the problem is to compute the p-dimensional tensor Y = (y i 1 ...i p ) of size n 1 x n 2 x ... x n p such that: