MCPcopy 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
46def nonlinearity(x):
47 # swish
48 return x * torch.sigmoid(x)
49
50
51class CausalConv3d(nn.Module):

Callers 2

forwardMethod · 0.70
forwardMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected