(x)
return tf_np.asarray(tf.math.sigmoid(x))
Compute 1 / (1 + exp(-x)).
Compute 1 / (1 + exp(-x)).
Compute 1 / ( 1 + exp ( - x )) .
def expit(x):
  """Compute 1 / (1 + exp(-x))."""
  return tf_np.asarray(tf.math.sigmoid(x))
def expit ( x ) : return tf_np . asarray ( tf . math . sigmoid ( x ) )