Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ relu
Function
relu
cnn_class/cnn_theano.py:24–25 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
22
23
24
def
relu(a):
25
return
a * (a > 0)
26
27
28
def
convpool(X, W, b, poolsize=(2, 2)):
Callers
3
main
Function · 0.90
convpool
Function · 0.70
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected