cos() Computes the cosine of the tensor’s elements. Declarationfunc cos() -> MLTensor See AlsoApplying trigonometric functionscosh()acos()acosh()sin()sinh()asin()asinh()tan()tanh()atan()atanh()