Understanding and Working with Keras

  • Navin Kumar Manaswi
Chapter

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.

Copyright information

©  Navin Kumar Manaswi 2018

Authors and Affiliations

  • Navin Kumar Manaswi
    • 1
  1. 1.BangaloreIndia

Personalised recommendations