(self, X, is_training)
| 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) |