PLAY PODCASTS
Binding C++ objects to Python
Episode 1

Binding C++ objects to Python

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?

PyTorch Developer Podcast · Edward Yang - PyTorch Research Engineer at Facebook AI

May 4, 202113m 17s

Audio is streamed directly from the publisher (cdn.simplecast.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

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:

Topics

pytorchmachine learningpythondeep learning