PyTorch Developer Podcast
PyTorch Developer Podcast
Edward Yang, Team PyTorch
Binding C++ objects to Python
13 minutes Posted May 4, 2021 at 1:19 am.
0:00
13:17
Download MP3
Show notes

In this episode, we will discuss how to bind a C++ object in Python? We'll try to answer the following questions: How does pybind11 do it? What's different about how we implement it for Tensor? What are some downsides of the approach?

Note from the future: I recorded and then decided I didn't like my follow up episode about how to preserve PyObjects even when they go dead in Python. Maybe some day!

Further reading: