C++ Template Metaprogramming in Practice
CRC Press (Verlag)
978-0-367-60956-6 (ISBN)
Consisting of eight chapters, the book starts with two chapters discussing basic techniques of metaprogramming and compile-time computing. The rest of the book’s chapters focus on the practical application of metaprogramming in a deep learning framework. It examines rich types and systems, expression templates, and writing complex meta-functions, as well as such topics as:
Heterogeneous dictionaries and policy templates
An introduction to deep learning
Type system and basic data types
Operations and expression templates
Basic layers
Composite and recurrent layers
Evaluation and its optimization
Metaprogramming can construct flexible and efficient code. For C++ developers who are familiar with object-oriented programming, the main difficulty in learning and mastering C++ metaprogramming is establishing the thinking mode of functional programming. The meta-programming approach involved at compile time is functional, which means that the intermediate results of the construction cannot be changed, and the impact may be greater than expected. This book enables C++ programmers to develop a functional mindset and metaprogramming skills. The book also discusses the development cost and use cost of metaprogramming and provides workarounds for minimizing these costs.
Li Wei graduated from Tsinghua University in 2011 and has been engaged in the development and maintenance of the online prediction section of the deep learning machine translation system at Baidu's Natural Language Processing Department. He currently works for Microsoft Advanced Technology Center and has more than ten years of relevant development experience, with a strong interest in C++ template meta-programming and compile-time computing.
Part I. Introduction 1. Basic Tips 2. Heterogeneous Dictionaries and Policy Templates Part II. The Deep Learning Framework 3. A Brief Introduction to Deep Learning 4. Type System and Basic Data Types 5. Operations and Expression Templates 6. Basic Layers 7. Composite and Recurrent Layers 8. Evaluation and Its Optimization. Postscript.
| Erscheinungsdatum | 16.01.2021 |
|---|---|
| Zusatzinfo | 2 Tables, black and white; 10 Halftones, black and white |
| Verlagsort | London |
| Sprache | englisch |
| Maße | 178 x 254 mm |
| Gewicht | 453 g |
| Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
| Mathematik / Informatik ► Informatik ► Software Entwicklung | |
| Mathematik / Informatik ► Informatik ► Theorie / Studium | |
| ISBN-10 | 0-367-60956-8 / 0367609568 |
| ISBN-13 | 978-0-367-60956-6 / 9780367609566 |
| Zustand | Neuware |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
aus dem Bereich