Parameter(torch.ones(dim)) def _norm(self, x): # 首先,对输入x求平方并计算最后一个维度的平均值,然后加上一个非常小的数self.eps防止出现零,接着对结果开平方根 ...
確定! 回上一頁