Elementwise Sigmoid function defined as.
Inputs:
N-D array.
Outputs:
T -- Data type for computation.