From 88f8d7b3601d465dfaacbedb876ca1756da8a2c0 Mon Sep 17 00:00:00 2001
From: Kavanaugh Latiolais Layers are the only building
blocks in Leaf. As we will see later on, everything is a layer. Even when
we construct networks, we are still just
-working with layers composed of smalle layers. This makes the API clean and expressive.What is a Layer?
A layer is like a function: given an input it computes an output. It could be some mathematical expression, like Sigmoid, ReLU, or a non-mathematical instruction, like querying data from a database, logging data, or anything in between.