sigmoid¶
-
sigmoid(data=None, out=None, name=None, **kwargs)¶ Computes sigmoid of x element-wise. .. math:
y = 1 / (1 + exp(-x))
Defined in src/operator/numpy/np_elemwise_unary_op_basic.cc:L42
Parameters: - data : ndarray
The input array.
- out : ndarray, optional
The output ndarray to hold the result.
Returns: - out : ndarray or list of ndarrays
The output of this function.