Developer Guide for Intel® Data Analytics Acceleration Library 2018 Update 3
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: