C++ Template Metaprogramming in Practice C++ Template Metaprogramming in Practice

C++ Template Metaprogramming in Practice

A Deep Learning Framework

    • ¥19,800
    • ¥19,800

発行者による作品情報

Using the implementation of a deep learning framework as an example, C++ Template Metaprogramming in Practice: A Deep Learning Framework explains the application of metaprogramming in a relatively large project and emphasizes ways to optimize systems performance. The book is suitable for developers with a basic knowledge of C++. Developers familiar with mainstream deep learning frameworks can also refer to this book to compare the differences between the deep learning framework implemented with metaprogramming and compile-time computing with deep learning frameworks using object-oriented methods.

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.

ジャンル
コンピュータ/インターネット
発売日
2020年
12月1日
言語
EN
英語
ページ数
338
ページ
発行者
CRC Press
販売元
Taylor & Francis Group
サイズ
28
MB
Scala in Depth Scala in Depth
2012年
Functional and Reactive Domain Modeling Functional and Reactive Domain Modeling
2016年
Metaprogramming GPUs with Sh Metaprogramming GPUs with Sh
2009年
Programming in Star Programming in Star
2016年
Introduction to the Art of Programming Using Scala Introduction to the Art of Programming Using Scala
2012年
F# Deep Dives F# Deep Dives
2014年
The Bilingualism Reader The Bilingualism Reader
2020年
Multilingualism in the Chinese Diaspora Worldwide Multilingualism in the Chinese Diaspora Worldwide
2015年