def METHOD_NAME(exe, prog, model, feed_dict, lr):
    """Run training process of every epoch.
    """
    if lr is None:
        loss, predict = exe.run(prog,
                                feed=feed_dict,
                                fetch_list=[model['loss'], model['predict']],
                                return_numpy=True)
        lr_ = 0
    else:
        loss, predict, lr_ = exe.run(
            prog,
            feed=feed_dict,
            fetch_list=[model['loss'], model['predict'], lr],
            return_numpy=True)
    macro_f1 = f1_score(feed_dict['labels'], predict, average="macro")
    micro_f1 = f1_score(feed_dict['labels'], predict, average="micro")
    return {
        'loss': loss,
        'pred': predict,
        'lr': lr_,
        'macro_f1': macro_f1,
        'micro_f1': micro_f1
    }