subroutine vmlrelud (n, y, incy, x, incx); subroutine vmlreludf(n, y, incy, x, incx);
Given an input vector and a result vector
this function computes the first derivative of the ReLU activation function of the
values in the
vector and stores the result in the
vector.
The case where is normally undefined, for proper behaivor in the application scenario of machine learning this function
substitutes
as a result on those elements to handle this condition gracefully.
N - INTEGER
ENTRY: Number of elements of and
.
CONSTRAINT: .
Y - ARRAY OF REAL
EXIT: Result vector .
CONSTRAINT: Must contain elements.
CONSTRAINT: Must not overlap with array .
INCY - INTEGER
ENTRY: Stride for the vector .
CONSTRAINT: .
X - ARRAY OF REAL
ENTRY: Input vector .
CONSTRAINT: Must contain elements.
CONSTRAINT: Must not overlap with array .
INCX - INTEGER
ENTRY: Stride for the vector .
CONSTRAINT: .