Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ sig
Method
sig
neural_network/convolution_neural_network.py:103–104 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
101
return
conv_ins
102
103
def
sig(self, x):
104
return
1 / (1 + np.exp(-1 * x))
105
106
def
do_round(self, x):
107
return
round(x, 3)
Callers
3
convolute
Method · 0.95
train
Method · 0.95
predict
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected