torch.distributions.transforms.SigmoidTransform
class SigmoidTransform extends Transformnew SigmoidTransform(options?: TransformOptions)
- readonly
domain(unknown) - readonly
codomain(unknown) - readonly
bijective(unknown) - readonly
sign(unknown)
Sigmoid transform: y = sigmoid(x) = 1/(1 + exp(-x)) (maps ℝ → (0, 1)).
Transform via the mapping y = sigmoid(x) = 1 / (1 + exp(-x)). This transform maps real numbers to the interval (0, 1). The inverse is the logit function: x = log(y / (1 - y)).