Sigmoid activations, returned as a dlarray. All values in
dlY are between 0 and 1. The
output dlY has the same underlying data type as the input
dlX.
If the input data dlX is a formatted dlarray,
dlY has the same dimension labels as dlX. If the
input data is not a formatted dlarray, dlY is an
unformatted dlarray with the same dimension order as the input data.
Extended Capabilities
GPU Arrays Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™.
Usage notes and limitations:
When the input argument dlX is a dlarray with
underlying data of type gpuArray, this function runs on the
GPU.