MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / forward

Method forward

ann_class2/dropout_theano.py:46–47  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

44 self.params = [self.W, self.b]
45
46 def forward(self, X):
47 return T.nnet.relu(X.dot(self.W) + self.b)
48
49
50class ANN(object):

Callers 2

forward_trainMethod · 0.45
forward_predictMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected