def set_up_phase(self, training_info, model, source):
<EOL>self._optimizer_instance = self.optimizer_factory.instantiate(model)<EOL>self._source = source<EOL>self.special_callback = CycleCallback(<EOL>self._optimizer_instance,<EOL>max_lr=self.max_lr, min_lr=self.min_lr, cycles=self.cycles,<EOL>cycle_len=self.cycle_len, cycle_mult=self.cycle_mult, interpolate=self.interpolate,<EOL>init_iter=self.init_iter, init_lr=self.init_lr<EOL>)<EOL>return self._optimizer_instance<EOL>
Prepare the phase for learning