sigmoid
Module: strata.utils • Kind: function
Source: strata/utils/math.mojo
def sigmoid[dtype: DType = DType.float64](x: Scalar[dtype]) -> Scalar[dtype]from strata.utils import sigmoidCompute the logistic sigmoid function .
Returns: Scalar[dtype] — Scalar[dtype]: Evaluated sigmoid activation in the range .