def sigmoid_range(x, low, high):
    "Sigmoid function with range `(low, high)`"
    return torch.sigmoid(x) * (high - low) + low
Sigmoid function with range `(low, high)`
PatchTST_self_supervised/src/models/layers/basics.py