def load_variable(self, checkpoint, name):
    '加载单个变量的函数\n        '
    variable = super(BERT, self).load_variable(checkpoint, name)
    if (name in ['bert/embeddings/word_embeddings', 'cls/predictions/output_bias']):
        return self.load_embeddings(variable)
    elif (name == 'cls/seq_relationship/output_weights'):
        return variable.T
    else:
        return variable
加载单个变量的函数
def load_variable(self, checkpoint, name):
    '\n        '
    variable = super(BERT, self).load_variable(checkpoint, name)
    if (name in ['bert/embeddings/word_embeddings', 'cls/predictions/output_bias']):
        return self.load_embeddings(variable)
    elif (name == 'cls/seq_relationship/output_weights'):
        return variable.T
    else:
        return variable