Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ leaky_relu
Function
leaky_relu
sat/sgm/modules/autoencoding/magvit2_pytorch.py:135–136 ·
view source on GitHub ↗
(p=0.1)
Source
from the content-addressed store, hash-verified
133
134
135
def
leaky_relu(p=0.1):
136
return
nn.LeakyReLU(p)
137
138
139
def
hinge_discr_loss(fake, real):
Callers
2
__init__
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected