ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.keras.backend.cos

TensorFlow 2 version View source on GitHub

Computes cos of x element-wise.

x Tensor or variable.

A tensor.