{"product_id":"c-template-metaprogramming-in-practice-a-deep-learning-framework-9780367609566","title":"C++ Template Metaprogramming in Practice: A Deep Learning Framework","description":"\u003cp\u003e • Author(s): Li Wei\u003cbr\u003e • Publisher: Taylor \u0026amp; Francis\u003cbr\u003e • Publisher Imprint: Auerbach Publications\u003cbr\u003e • BISAC: Languages - C++\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eUsing the implementation of a deep learning framework as an example, \u003cb\u003eC++ Template Metaprogramming in Practice: A Deep Learning Framework\u003c\/b\u003e 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.\u003c\/p\u003e \u003cp\u003eConsisting 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: \u003c\/p\u003e \u003cul\u003e \u003cp\u003e \u003c\/p\u003e\n\u003cli\u003eHeterogeneous dictionaries and policy templates\u003c\/li\u003e \u003cp\u003e\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e\n\u003cli\u003eAn introduction to deep learning\u003c\/li\u003e \u003cp\u003e\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e\n\u003cli\u003eType system and basic data types\u003c\/li\u003e \u003cp\u003e\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e\n\u003cli\u003eOperations and expression templates\u003c\/li\u003e \u003cp\u003e\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e\n\u003cli\u003eBasic layers\u003c\/li\u003e \u003cp\u003e\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e\n\u003cli\u003eComposite and recurrent layers\u003c\/li\u003e \u003cp\u003e\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e\n\u003cli\u003eEvaluation and its optimization\u003c\/li\u003e \u003cp\u003e\u003c\/p\u003e\n\u003c\/ul\u003e \u003cp\u003eMetaprogramming 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.\u003c\/p\u003e","brand":"Taylor \u0026 Francis","offers":[{"title":"Hardcover","offer_id":45240728682647,"sku":"9780367609566","price":9636.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0666\/3471\/1191\/files\/9780367609566.webp?v=1769226476","url":"https:\/\/atlanticbooks.com\/products\/c-template-metaprogramming-in-practice-a-deep-learning-framework-9780367609566","provider":"Atlantic Books","version":"1.0","type":"link"}