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