
Gehen Sie mit der App Player FM offline!
C++ frontend
Manage episode 294594693 series 2921809
What's the C++ frontend? Why is avoiding templates so important? Why is Tensor a reference type? How do we simulate keyword arguments in C++? Where did the nn Module support in the C++ API come from? Why did we reimplement all modules in C++? How are modules implemented in C++? What are some performance challenges of writing Python in C++, and how are we working around them?
Further reading.
- C++ frontend tutorial https://pytorch.org/tutorials/advanced/cpp_frontend.html
- Writing Python in C++ (a manifesto) https://github.com/pytorch/pytorch/wiki/Writing-Python-in-cpp-(a-manifesto)
- MaybeOwned PR https://github.com/pytorch/pytorch/pull/53317
83 Episoden
Manage episode 294594693 series 2921809
What's the C++ frontend? Why is avoiding templates so important? Why is Tensor a reference type? How do we simulate keyword arguments in C++? Where did the nn Module support in the C++ API come from? Why did we reimplement all modules in C++? How are modules implemented in C++? What are some performance challenges of writing Python in C++, and how are we working around them?
Further reading.
- C++ frontend tutorial https://pytorch.org/tutorials/advanced/cpp_frontend.html
- Writing Python in C++ (a manifesto) https://github.com/pytorch/pytorch/wiki/Writing-Python-in-cpp-(a-manifesto)
- MaybeOwned PR https://github.com/pytorch/pytorch/pull/53317
83 Episoden
Alle Folgen
×Willkommen auf Player FM!
Player FM scannt gerade das Web nach Podcasts mit hoher Qualität, die du genießen kannst. Es ist die beste Podcast-App und funktioniert auf Android, iPhone und im Web. Melde dich an, um Abos geräteübergreifend zu synchronisieren.