Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ nonlinearity
Function
nonlinearity
sat/sgm/modules/autoencoding/vqvae/movq_dec_3d_dev.py:48–50 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
46
47
48
def
nonlinearity(x):
49
# swish
50
return
x * torch.sigmoid(x)
51
52
53
class
SpatialNorm3D(nn.Module):
Callers
3
forward
Method · 0.70
forward
Method · 0.70
forward
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected