torch._foreach_cos torch._foreach_cos(self: List[Tensor]) → List[Tensor] Apply to each Tensor of the input list.