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.
Absolute Value Forward Layer
The forward abs layer computes the absolute value of input argument x.
Given a p-dimensional tensor X of size n1 x n2 x ... x np, the problem is to compute a p-dimensional tensor Y = (yi1...ip) of size n1 x n2 x ... x np, where:
yi1...ip = abs(xi1...ip)