def setting2dict(paras, setting):
    paras['num_heads'] = setting[0]
    paras['hidden_dim'] = setting[1]
    paras['inter_dim'] = setting[2]
def setting2dict(paras, setting):
    paras['num_heads'] = setting[0]
    paras['hidden_dim'] = setting[1]
    paras['inter_dim'] = setting[2]