| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | #!/usr/bin/env python |
||
| 4 | class TrainingController(object): |
||
| 5 | """ |
||
| 6 | Abstract class of training controllers. |
||
| 7 | """ |
||
| 8 | |||
| 9 | def bind(self, trainer): |
||
| 10 | """ |
||
| 11 | :type trainer: deepy.trainers.base.NeuralTrainer |
||
| 12 | """ |
||
| 13 | self._trainer = trainer |
||
| 14 | |||
| 15 | def invoke(self): |
||
| 16 | """ |
||
| 17 | Return True to exit training. |
||
| 18 | """ |
||
| 19 | return False |