Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Newmu/dcgan_code
/ Sigmoid
Class
Sigmoid
lib/activations.py:82–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
return
T.tanh(x)
81
82
class
Sigmoid(object):
83
84
def
__init__(self):
85
pass
86
87
def
__call__(self, x):
88
return
T.nnet.sigmoid(x)
89
90
class
Linear(object):
91
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected