I think the sigmoid_k function is not available since, it seems it’s a one-liner:
def sigmoid_k(x, k):
    return (1. / (1. + torch.exp(-k * x)))

x = torch.arange(-10, 10) 
k = 2

sigmoid_k(x, k)

I haven’t tested it thoroughly, so let me know, if you encounter any issues.