torch.ger torch.ger(input, vec2, *, out=None) → Tensor 别名为:torch.outer()。 警告 该函数已被弃用,未来将从 PyTorch 中删除。建议使用 torch.outer() 替代。