concept Layer in category deep learning
appears as: Layer, A Layer

This is an excerpt from Manning's book Deep Learning with Python, Second Edition.
A simple API should have a single abstraction around which everything is centered. In Keras, that’s the
Layerclass. Everything in Keras is either aLayeror something that closely interacts with aLayer.A
Layeris an object that encapsulates some state (weights) and some computation (a forward pass). The weights are typically defined in abuild()(although they could also be created in the constructorinit()), and the computation is defined in thecall()method.