[TensorExpr] Reland: "PyBind: bind ExternalCalls." (#53063)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53063
The problem was that a derived class was marked with "py::nodelete",
while the base class wasn't. Now they both are marked correctly.
Test Plan: Imported from OSS
Reviewed By: bertmaher
Differential Revision: D26737877
Pulled By: ZolotukhinM
fbshipit-source-id: 17d9d430651c8f695fc7b6bf6784e7719e20a4d2
Author
Mikhail Zolotukhin