sigmoid¶
- dragon.vm.tensorflow.math.- sigmoid(
 x,
 name=None,
 **kwargs
 )[source]¶
- Compute the sigmoid function. \[\text{out} = \frac{1}{1 + \exp(-\text{input})} \]- Examples: - x = tf.constant([0.2, 0.4, 0.6, 0.8, 1.0]) print(tf.math.sigmoid(x)) - Parameters:
- x (dragon.Tensor) – The input tensor.
- name (str, optional) – The operation name.
 
 - Returns:
- dragon.Tensor – The output tensor 
 
