MCPcopy
hub / github.com/NVlabs/SPADE / actvn

Method actvn

models/networks/architecture.py:67–68  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

65 return x_s
66
67 def actvn(self, x):
68 return F.leaky_relu(x, 2e-1)
69
70
71# ResNet block used in pix2pixHD

Callers 2

forwardMethod · 0.95
forwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected