def add_epoch_controllers(self, *controllers):
        """
        Add epoch callbacks function.
        :param controllers: can be a `TrainingController` or a function.
        """
        for controller in controllers:
            if isinstance(controller, TrainingController):
                controller.bind(self)
            self._epoch_controllers.append(controller)
def add_epoch_controllers(self, *controllers):
        """
        Add epoch callbacks function.
        :param controllers: can be a `TrainingController` or a function.
        """
        for controller in controllers:
            if isinstance(controller, TrainingController):
                controller.bind(self)
            self._epoch_controllers.append(controller)
def add_epoch_controllers ( self , * controllers ) : for controller in controllers : if isinstance ( controller , TrainingController ) : controller . bind ( self ) self . _epoch_controllers . append ( controller )
Add epoch callbacks function.
        :param controllers: can be a `TrainingController` or a function.
Add epoch callbacks function . : param controllers : can be a TrainingController or a function .