mx.nd.relu

Description

Computes rectified linear activation.

\[max(features, 0)\]

The storage type of relu output depends upon the input storage type:

  • relu(default) = default

  • relu(row_sparse) = row_sparse

  • relu(csr) = csr

Arguments

Argument

Description

data

NDArray-or-Symbol.

The input array.