subroutine vmlrelud (n, y, incy, x, incx); subroutine vmlreludf(n, y, incy, x, incx); subroutine vmlrelud_64 (n, y, incy, x, incx); subroutine vmlreludf_64(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 behavior in the application scenario of machine learning this function
substitutes
as a result on those elements to handle this condition gracefully.
ENTRY: Number of elements of
and
.
CONSTRAINT:
.
EXIT: Result vector
.
CONSTRAINT: Must contain
elements.
CONSTRAINT: Must not overlap with array
.
ENTRY: Stride for the vector
.
CONSTRAINT:
.
BEHAVIOR: A negative stride will traverse the array in reverse.
ENTRY: Input vector
.
CONSTRAINT: Must contain
elements.
CONSTRAINT: Must not overlap with array
.
ENTRY: Stride for the vector
.
CONSTRAINT:
.
BEHAVIOR: A negative stride will traverse the array in reverse.