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 ...