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