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