MCPcopy 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
135def leaky_relu(p=0.1):
136 return nn.LeakyReLU(p)
137
138
139def 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