一、引言 在昇思 MindSpore + MindFormers 大模型推理链路中,logits 是模型最后一层 Transformer 输出、未经过 Softmax 的原始分值向量,维度一般为 [b