Announcing the TensorFlow Dev Summit 2020 Learn more

tf.keras.backend.cos

TensorFlow 1 version View source on GitHub

Computes cos of x element-wise.

tf.keras.backend.cos(x)

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.

Compat aliases