def load_variable(self, checkpoint, name):
    '加载单个变量的函数\n        '
    variable = super(T5_Base, self).load_variable(checkpoint, name)
    if (name == 'shared/embedding'):
        return self.load_embeddings(variable)
    elif (name == 'decoder/logits/kernel'):
        return self.load_embeddings(variable.T).T
    elif ('relative_attention_bias' in name):
        return variable.T
    else:
        return variable
加载单个变量的函数
def load_variable(self, checkpoint, name):
    '\n        '
    variable = super(T5_Base, self).load_variable(checkpoint, name)
    if (name == 'shared/embedding'):
        return self.load_embeddings(variable)
    elif (name == 'decoder/logits/kernel'):
        return self.load_embeddings(variable.T).T
    elif ('relative_attention_bias' in name):
        return variable.T
    else:
        return variable