MCPcopy Create free account
hub / github.com/JasonLSC/GSCodec_Studio / sigmoidv2

Function sigmoidv2

examples/helper/STG/general_utils.py:29–30  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

27 return torch.log( (x/2) /(1-(x/2)))
28
29def sigmoidv2(x):
30 return 2*torch.sigmoid(x)
31
32def sigmoidk(x, k):
33 return k*torch.sigmoid(x)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected