(s_sa)
return pr_sa
return: [ pr_wc1_i, pr_wc2_i, ...]
return: [ pr_wc1_i, pr_wc2_i, ...]
return : [ pr_wc1_i pr_wc2_i ... ]
def pred_sa(s_sa):
    """
    return: [ pr_wc1_i, pr_wc2_i, ...]
    """
    # get g_num
    pr_sa = []
    for s_sa1 in s_sa:
        pr_sa.append(s_sa1.argmax().item())

    return pr_sa
def pred_sa ( s_sa ) : # get g_num pr_sa = [ ] for s_sa1 in s_sa : pr_sa . append ( s_sa1 . argmax ( ) . item ( ) ) return pr_sa