Abstract
Keras is a compact and easy-to-learn high-level Python library for deep learning that can run on top of TensorFlow (or Theano or CNTK). It allows developers to focus on the main concepts of deep learning, such as creating layers for neural networks, while taking care of the nitty-gritty details of tensors, their shapes, and their mathematical details. TensorFlow (or Theano or CNTK) has to be the back end for Keras. You can use Keras for deep learning applications without interacting with the relatively complex TensorFlow (or Theano or CNTK). There are two major kinds of framework: the sequential API and the functional API. The sequential API is based on the idea of a sequence of layers; this is the most common usage of Keras and the easiest part of Keras. The sequential model can be considered as a linear stack of layers.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Navin Kumar Manaswi
About this chapter
Cite this chapter
Manaswi, N.K. (2018). Understanding and Working with Keras. In: Deep Learning with Applications Using Python . Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3516-4_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3516-4_2
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3515-7
Online ISBN: 978-1-4842-3516-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)