Getting Started
Python API
Gluon
Triton MLIR Dialects
Programming Guide
Computes the element-wise cosine of x.
x
x (Block) – the input values
This function can also be called as a member function on tensor, as x.cos() instead of cos(x).
tensor
x.cos()
cos(x)