pytorch
f4a0da86 - Supports super().__torch_dispatch__ with arguments list

Commit
3 years ago
Supports super().__torch_dispatch__ with arguments list Summary: For THPModule_disable_torch_(dispatch|function), converts list arguments to tuple before invoking PyObject_Call. Fixes #73933 Test Plan: Reviewers: Subscribers: Tasks: 114830027 Tags: Pull Request resolved: https://github.com/pytorch/pytorch/pull/74509 Fix PyObject leak issue Pull Request resolved: https://github.com/pytorch/pytorch/pull/74567 Approved by: https://github.com/ezyang
Author
Committer
Parents
Loading