torch._foreach_cos¶ torch._foreach_cos(self: List[Tensor]) → List[Tensor]¶ 對輸入列表中的每個 Tensor 應用 torch.cos()。