@staticmethod
    def warn(exc, self, optimizer):
        """
        Default failure_callback for SeqOptimizer.

        """
        _logger.error(str(optimizer) % "SeqOptimizer apply %s")
        _logger.error("Traceback:")
        _logger.error(traceback.format_exc())
        if config.on_opt_error == 'raise':
            raise exc
        elif config.on_opt_error == 'pdb':
            pdb.post_mortem(sys.exc_info()[2])
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/gof/opt.py/SeqOptimizer.warn/swapped operands of `%`