MCPcopy Create free account
hub / github.com/Newmu/dcgan_code / __init__

Method __init__

lib/activations.py:54–55  ·  view source on GitHub ↗
(self, leak=0.2)

Source from the content-addressed store, hash-verified

52class LeakyRectify(object):
53
54 def __init__(self, leak=0.2):
55 self.leak = leak
56
57 def __call__(self, x):
58 f1 = 0.5 * (1 + self.leak)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected