MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / forward

Method forward

ann_class2/batch_norm_theano.py:196–201  ·  view source on GitHub ↗
(self, X, is_training)

Source from the content-addressed store, hash-verified

194 plt.show()
195
196 def forward(self, X, is_training):
197 out = X
198 for h in self.layers[:-1]:
199 out = h.forward(out, is_training)
200 out = self.layers[-1].forward(out)
201 return out
202
203 def score(self, X, Y):
204 P = self.predict(X)

Callers 1

fitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected