Hopp til hovedinnhold
Placeholder image

C++ Template Metaprogramming in Practice : A Deep Learning Framework

Wei, Li

Produseres på bestilling

Leveringstid: 3-10 dager

Handlinger

Beskrivelse

Omtale

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.

  • Utgivelsesdato:

    02.12.2020

  • ISBN/Varenr:

    9780367609566

  • Språk:

    Engelsk

  • Forlag:

    CRC Press

  • Innbinding:

    Innbundet

  • Fagtema:

    Data- og informasjonsteknologi

  • Litteraturtype:

    Faglitteratur

  • Sider:

    308

  • Høyde:

    18.4 cm

  • Bredde:

    26 cm

The Routledge Handbook of Applied Linguistics : Volumes One and Two

The Routledge Handbook of Applied Linguistics : Volumes One and Two

9780367536213
27.06.2025
Engelsk

Forventes utgitt
The Routledge Handbook of Applied Linguistics : Volume Two

The Routledge Handbook of Applied Linguistics : Volume Two

9780367536237 Heftet
27.06.2025
Engelsk

Forventes utgitt
The Routledge Handbook of Applied Linguistics : Volume One

The Routledge Handbook of Applied Linguistics : Volume One

9780367536268 Heftet
27.06.2025
Engelsk

Forventes utgitt
Translingual Practices : Playfulness and Precariousness

Translingual Practices : Playfulness and Precariousness

9781316513514 Innbundet
09.05.2024
Engelsk

Produseres på bestilling
The Routledge Handbook of Applied Linguistics : Volume Two

The Routledge Handbook of Applied Linguistics : Volume Two

9780367536244 Innbundet
30.08.2023
Engelsk

Produseres på bestilling
The Routledge Handbook of Applied Linguistics : Volume One

The Routledge Handbook of Applied Linguistics : Volume One

9780367536275 Innbundet
30.08.2023
Engelsk

Produseres på bestilling
The Routledge Handbook of Applied Linguistics : Volumes One and Two

The Routledge Handbook of Applied Linguistics : Volumes One and Two

9780367536220
30.08.2023
Engelsk

Produseres på bestilling
Thinking and Speaking in a Second Language

Thinking and Speaking in a Second Language

Wei, Li • Wang, Yi
9781009074841 Heftet
23.06.2022
Engelsk

Produseres på bestilling