tf.keras.backend.backend

Publicly accessible method for determining the current backend.

String, the name of the backend Keras is currently using. One of "tensorflow", "torch", or "jax".

Example:

keras.config.backend()
'tensorflow'