tf.keras.backend.cos

tf.keras.backend.cos(x)

Defined in tensorflow/python/keras/backend.py.

Computes cos of x element-wise.

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.