def _softplus(x):
    'Implements the softplus function.'
    return torch.nn.functional.softplus(x, beta=1, threshold=10000)
Implements the softplus function.
def _softplus(x):
    
    return torch.nn.functional.softplus(x, beta=1, threshold=10000)