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_enc_3d.py:46–48 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
44
45
46
def
nonlinearity(x):
47
# swish
48
return
x * torch.sigmoid(x)
49
50
51
class
CausalConv3d(nn.Module):
Callers
2
forward
Method · 0.70
forward
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected