MCPcopy 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
24def relu(a):
25 return a * (a > 0)
26
27
28def convpool(X, W, b, poolsize=(2, 2)):

Callers 3

mainFunction · 0.90
convpoolFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected