Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Newmu/dcgan_code
/ __call__
Method
__call__
lib/activations.py:111–112 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
109
self.t = t
110
111
def
__call__(self, X):
112
return
X*(X > self.t)
113
114
class
HardTanh(object):
115
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected