Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !
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 tập
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 tập
Tất cả các tập
×Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.