Called at the beginning of prediction. Subclasses should override for any actions to run. Arguments: logs: dict. Currently no data is passed to this argument for this method but that may change in the future.
(self, logs=None)
| 607 | """ |
| 608 | |
| 609 | def on_predict_begin(self, logs=None): |
| 610 | """Called at the beginning of prediction. |
| 611 | |
| 612 | Subclasses should override for any actions to run. |
| 613 | |
| 614 | Arguments: |
| 615 | logs: dict. Currently no data is passed to this argument for this method |
| 616 | but that may change in the future. |
| 617 | """ |
| 618 | |
| 619 | def on_predict_end(self, logs=None): |
| 620 | """Called at the end of prediction. |