32 subscribers
با برنامه Player FM !
__torch_function__
Manage episode 293989178 series 2921809
What is __torch_function__
? Why would I want to use it? What does it have to do with keeping extra metadata on Tensors or torch.fx? How is it implemented? Why is __torch_function__
a really popular way of extending functionality in PyTorch? What makes it different from the dispatcher extensibility mechanism? What are some downsides of it being written this way? What are we doing about it?
Further reading.
__torch_function__
RFC: https://github.com/pytorch/rfcs/blob/master/RFC-0001-torch-function-for-methods.md- One of the original GitHub issues tracking the overall design discussion https://github.com/pytorch/pytorch/issues/24015
- Documentation for using
__torch_function__
https://pytorch.org/docs/stable/notes/extending.html#extending-torch
83 قسمت
Manage episode 293989178 series 2921809
What is __torch_function__
? Why would I want to use it? What does it have to do with keeping extra metadata on Tensors or torch.fx? How is it implemented? Why is __torch_function__
a really popular way of extending functionality in PyTorch? What makes it different from the dispatcher extensibility mechanism? What are some downsides of it being written this way? What are we doing about it?
Further reading.
__torch_function__
RFC: https://github.com/pytorch/rfcs/blob/master/RFC-0001-torch-function-for-methods.md- One of the original GitHub issues tracking the overall design discussion https://github.com/pytorch/pytorch/issues/24015
- Documentation for using
__torch_function__
https://pytorch.org/docs/stable/notes/extending.html#extending-torch
83 قسمت
Semua episod
×












به Player FM خوش آمدید!
Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.