Keras is an open-source library that provides a Python interface for artificial neural networks. Keras acts as an interface for the TensorFlow library.[citation needed]


The name 'Keras' derives from the Ancient Greek word κέρας (Keras) meaning 'horn'.[2]

Designed to enable fast experimentation with deep neural networks, Keras focuses on being user-friendly, modular, and extensible. It was developed as part of the research effort of project ONEIROS (Open-ended Neuro-Electronic Intelligent Robot Operating System),[3] and its primary author and maintainer is François Chollet, a Google engineer. Chollet is also the author of the Xception deep neural network model.[4]

Up until version 2.3, Keras supported multiple backends, including TensorFlow, Microsoft Cognitive Toolkit, Theano, and PlaidML.[5][6][7]

As of version 2.4, only TensorFlow is supported. Starting with version 3.0 (as well as its preview version, Keras Core), however, Keras is to become multi-backend again, supporting TensorFlow, JAX, and PyTorch.[8]


Keras contains numerous implementations of commonly used neural-network building blocks such as layers, objectives, activation functions, optimizers, and a host of tools for working with image and text data to simplify programming in deep neural network area. The code is hosted on GitHub, and community support forums include the GitHub issues page, and a Slack channel.[citation needed]

In addition to standard neural networks, Keras has support for convolutional and recurrent neural networks. It supports other common utility layers like dropout, batch normalization, and pooling.[9]

Keras allows users to produce deep models on smartphones (iOS and Android), on the web, or on the Java Virtual Machine.[6] It also allows use of distributed training of deep-learning models on clusters of graphics processing units (GPU) and tensor processing units (TPU).[10]

See also


  1. ^ "Release 3.1.1". 19 March 2024. Retrieved 22 March 2024.
  2. ^ Team, Keras. "Keras documentation: About Keras 3". Retrieved 2024-02-10.
  3. ^ "Keras Documentation". Retrieved 2016-09-18.
  4. ^ Chollet, François (2016). "Xception: Deep Learning with Depthwise Separable Convolutions". arXiv:1610.02357.
  5. ^ "Keras backends". Retrieved 2018-02-23.
  6. ^ a b "Why use Keras?". Retrieved 2020-03-22.
  7. ^ "R interface to Keras". Retrieved 2020-03-22.
  8. ^ Chollet, François; Usui, Lauren (2023). "Introducing Keras Core: Keras for TensorFlow, JAX, and PyTorch". Retrieved 2023-07-11.
  9. ^ "Core - Keras Documentation". Retrieved 2018-11-14.
  10. ^ "Using TPUs | TensorFlow". TensorFlow. Archived from the original on 2019-06-04. Retrieved 2018-11-14.

External links