torch._foreach_cos¶ torch._foreach_cos(self: List[Tensor]) → List[Tensor]¶ 对输入列表中的每个 Tensor 应用 torch.cos()。