blob: b4f6f899335b6804624db2d2b8ba37055aafcdf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
### `tf.cos(x, name=None)` {#cos}
Computes cos of x element-wise.
##### Args:
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`, `complex64`, `complex128`.
* <b>`name`</b>: A name for the operation (optional).
##### Returns:
A `Tensor`. Has the same type as `x`.
|