Developer Guide for Intel® Data Analytics Acceleration Library 2019 Update 4

Hyperbolic Tangent Backward Layer

The hyperbolic tangent activation layer applies the transform

to the input data. The backward hyperbolic tangent layer computes the values z = y*f'(x), where y is the input gradient computed on the preceding layer and

Problem Statement

Given p-dimensional tensors X and Y of size n 1 x n 2 x ... x n p , the problem is to compute the p-dimensional tensor Z = (z i 1 ...i p ) of size n 1 x n 2 x ... x n p such that: