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

3. Differentiable Programming

Rahul Bhalley1  
(1)
Ludhiana, India
 

Swift is a syntactic sugar for LLVM compiler.

—Chris Lattner

In this chapter, we start by inspiring you to adopt the Swift language for deep learning by comparing (Section 3.1) its powerful capabilities to the Python language. We also introduce an extended language called “Swift for TensorFlow” (Section 3.2) for general-purpose programming and for learning and researching the deep learning field. The algorithm crucial for automatically computing the derivatives of composite functions (by abstracting away the complexity from users) called algorithmic differentiation is introduced ...

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.