Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DSL-Lab/StreamSplat
/ inverse_sigmoid
Function
inverse_sigmoid
utils/general_utils.py:21–22 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
19
import
math
20
21
def
inverse_sigmoid(x):
22
return
torch.log(x/(1-x))
23
24
def
PILtoTorch(pil_image, resolution):
25
resized_image_PIL = pil_image.resize(resolution)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected