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

Method forward

ann_class2/batch_norm_tf.py:168–173  ·  view source on GitHub ↗
(self, X, is_training)

Source from the content-addressed store, hash-verified

166 plt.show()
167
168 def forward(self, X, is_training):
169 out = X
170 for h in self.layers[:-1]:
171 out = h.forward(out, is_training)
172 out = self.layers[-1].forward(out)
173 return out
174
175 def score(self, X, Y):
176 P = self.predict(X)

Callers 1

fitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected