def gather_callbacks(self, optimizer) -> list:
callbacks = [TimeTracker()]<EOL>if self.scheduler_factory is not None:<EOL><INDENT>callbacks.append(self.scheduler_factory.instantiate(optimizer))<EOL><DEDENT>callbacks.extend(self.callbacks)<EOL>callbacks.extend(self.storage.streaming_callbacks())<EOL>return callbacks<EOL>
Gather all the callbacks to be used in this training run