(self, other)
| 300 | ) |
| 301 | |
| 302 | def copy_from(self, other): |
| 303 | my_params = self.params |
| 304 | other_params = other.params |
| 305 | for p, q in zip(my_params, other_params): |
| 306 | actual = q.get_value() |
| 307 | p.set_value(actual) |
| 308 | |
| 309 | def predict(self, X): |
| 310 | return self.predict_op(X) |