© Rahul Bhalley 2021
R. BhalleyDeep Learning with Swift for TensorFlowhttps://doi.org/10.1007/978-1-4842-6330-3_2

2. Essential Math

Rahul Bhalley1  
(1)
Ludhiana, India
 

Nothing takes place in the world whose meaning is not that of some maximum or minimum.

—Leonhard Euler

This chapter introduces mathematics essential to understand the basics of neural networks. We emphasize you to not skip this chapter if your mathematical concepts are rusty. You may use this chapter as reference when studying later chapters.

In Section 2.1, we introduce linear algebra which is used to make predictions with the neural network and compute the gradients of the loss function with respect to the neural network which makes learning possible. Efficient implementation of linear ...

Get Deep Learning with Swift for TensorFlow: Differentiable Programming with Swift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.