PyTorch · Function
torch.sigmoid
torch.sigmoid applies the sigmoid operation to an input tensor and returns a Tensor. It is an alias for torch.special.expit().
Last updated
Syntax
torch.sigmoid(input, *, out=None) → TensorIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
torch.special.expittorch.sigmoid_torch.foreach.sigmoid_