mlx.core.sigmoid# sigmoid(a: array, /, *, stream: None | Stream | Device = None) → array# Element-wise logistic sigmoid. The logistic sigmoid function is: \[\mathrm{sigmoid}(x) = \frac{1}{1 + e^{-x}}\] 參數: a (array) -- Input array. 回傳: The logistic sigmoid of a. 回傳型別: array