def load_variable(self, checkpoint, name):
    '加载单个变量的函数\n        '
    variable = super(GPT, self).load_variable(checkpoint, name)
    if (name == 'gpt/embeddings/word_embeddings'):
        return self.load_embeddings(variable)
    else:
        return variable
加载单个变量的函数
def load_variable(self, checkpoint, name):
    '\n        '
    variable = super(GPT, self).load_variable(checkpoint, name)
    if (name == 'gpt/embeddings/word_embeddings'):
        return self.load_embeddings(variable)
    else:
        return variable