Why isn't there inplace flag in F.sigmoid in pytorch?
Both relu, leakyrelu have inplace flag, so why not sigmoid? 

Signature: F.sigmoid(input)

F.relu(input, inplace=False)


According to docs:

nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.

If you need in-place version, use sigmoid_:
import torch
torch.manual_seed(0)

a = torch.randn(5)

print(a)

a.sigmoid_()

print(a)

tensor([ 1.5410, -0.2934, -2.1788,  0.5684, -1.0845])
tensor([0.8236, 0.4272, 0.1017, 0.6384, 0.2527])

sigmoid docs
