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.
ReLU Forward Layer
The forward ReLU layer computes f(x) = max(0, x) for 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 = max(0, xi1...ip)