Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Newmu/dcgan_code
/ Linear
Class
Linear
lib/activations.py:90–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
return
T.nnet.sigmoid(x)
89
90
class
Linear(object):
91
92
def
__init__(self):
93
pass
94
95
def
__call__(self, x):
96
return
x
97
98
class
HardSigmoid(object):
99
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected